mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-28397 completion: Activity completion criteria not showing grading
requirement Credit goes to Evan Irving-Pease for the patch
This commit is contained in:
parent
4f3632441a
commit
4756710889
@ -269,7 +269,7 @@ class completion_criteria_activity extends completion_criteria {
|
||||
$details['requirement'][] = get_string('viewingactivity', 'completion', $this->module);
|
||||
}
|
||||
|
||||
if ($module->completiongradeitemnumber) {
|
||||
if (!is_null($module->completiongradeitemnumber)) {
|
||||
$details['requirement'][] = get_string('achievinggrade', 'completion');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user