Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.6.5, 2.7
-
Component/s: Documentation
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Fixed Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-47780_master -
Pull Master Diff URL:
Description
The @return in the php docs suggests it will be "Array of courses, may have zero entries. Or false if query failed.", however if you actually look at the return statement in the function it is "return empty($courses) ? false : $courses;".
Attachments
Issue Links
- Discovered while testing
-
MDL-47778 PHP warning when visiting tool_monitor page directly.
-
- Closed
-