-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.1, 2.2.2
-
MOODLE_22_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-32592-master -
-
2
-
BACKEND Sprint 5
Hi
At line 396 in enrol/imsenterprise/lib.php the script checks if the category-string is longer than 0. However, if the category is empty this will and does result in an error.
Notice: Undefined property: stdClass::$category in /workspace/moodle2.0/enrol/imsenterprise/lib.php on line 396.
It is not an serious matter, but a small bug which is easily fixed by adding a different if statement:
if(!empty($group->category)).
I can provide a patch if necessarily.
Best regards
Henrik
- blocks
-
MDL-31356 IMS Enterprise enrol plugin added features
- Closed