Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.8.2
-
Fix Version/s: None
-
Component/s: Forms Library
-
Labels:None
-
Environment:n/a
-
Affected Branches:MOODLE_18_STABLE
Description
The courseid option in chooscoursefiles (lib/form/shooscoursefile.php) does not work. It is intended to allow the user to specify from which course
files are to be chosen but in fact only the current course is accessed.
I'm attaching a diff that fixes this bug. It makes the assumption that courseid's will never be negative