From: samhemelryk Date: Thu, 24 Sep 2009 08:09:08 +0000 (+0000) Subject: mod-page MDL-19799 Added set_url calls, replaced deprecated functions X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b3cfc7c3fcdec26a7150dd41a2518a82caef18a2;p=moodle.git mod-page MDL-19799 Added set_url calls, replaced deprecated functions --- diff --git a/mod/page/view.php b/mod/page/view.php index 6dc7e117bf..49e4770534 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'])) {