Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.4
-
Fix Version/s: 1.9.5
-
Component/s: Choice
-
Labels:None
-
Environment:Development: Windows XP with XAMPP (PHP 5.2.5)
Test: Ubuntu (as a VMWare Virtual Server) (PHP5.2.6)
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
1. Switch Developer debugging & error msgs on.
2. Open course with a Choice module
3. Click choice module.
4. If no enrolled users, then get the following warning: Warning: Invalid argument supplied for foreach() in /mnt/clsm-004093share/medical/resource_centre/moodle/mod/choice/lib.php on line 383
Patch developed, tested & attached.
thanks for the report - I've committed a fix into 19_STABLE and HEAD