mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-28397' of https://github.com/totara/moodle
This commit is contained in:
commit
01fc285579
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue