Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'MDL-54021-34' of git://github.com/mihailges/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_34_STABLE
  • Loading branch information
Damyon Wiese committed Dec 12, 2017
2 parents 684d866 + 64d3271 commit 395c985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completion/criteria/completion_criteria_activity.php
Expand Up @@ -279,7 +279,8 @@ public function get_details($completion) {
$details['requirement'][] = get_string('markingyourselfcomplete', 'completion');
} elseif ($cm->completion == COMPLETION_TRACKING_AUTOMATIC) {
if ($cm->completionview) {
$details['requirement'][] = get_string('viewingactivity', 'completion', $this->module);
$modulename = core_text::strtolower(get_string('modulename', $this->module));
$details['requirement'][] = get_string('viewingactivity', 'completion', $modulename);
}

if (!is_null($cm->completiongradeitemnumber)) {
Expand Down

0 comments on commit 395c985

Please sign in to comment.