diff --git a/mod/page/view.php b/mod/page/view.php index 6dc7e117bf7..49e4770534b 100644 --- a/mod/page/view.php +++ b/mod/page/view.php @@ -70,7 +70,7 @@ if ($inpopup and $page->display == RESOURCELIB_DISPLAY_POPUP) { $PAGE->set_title($course->shortname.': '.$page->name); $PAGE->set_heading($course->fullname); $PAGE->set_activity_record($page); - $PAGE->set_button(update_module_button($cm->id, '', get_string('modulename', 'page'))); + $PAGE->set_button($OUTPUT->update_module_button($cm->id, 'page')); echo $OUTPUT->header(); if (!empty($options['printheading'])) {