mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
f829c8d07f
Before this patch, if activity module used multiply grade items (as workshop does), the method add_idnumber() returned false because it required empty idnumber in course_modules. The patch makes this check only for grade_items with itemnumber 0.