From 6d8363c40be2b1a4ccfe77532b92b77b8344bb1d Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Fri, 16 Oct 2009 03:19:50 +0000 Subject: [PATCH] data MDL-19806 Upgraded deprecated calls --- mod/data/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/data/view.php b/mod/data/view.php index f08be89b17..40c2ce88f0 100755 --- a/mod/data/view.php +++ b/mod/data/view.php @@ -279,7 +279,7 @@ // The code will be much nicer than this eventually. $title = $course->shortname.': ' . format_string($data->name); - $buttons = ''; + $buttons = '
'.update_module_button($cm->id, $course->id, get_string('modulename', 'data')).'
'; if ($PAGE->user_allowed_editing() && !empty($CFG->showblocksonmodpages)) { $buttons .= '
'.$OUTPUT->update_module_button($cm->id, $cm->modname).'
frametarget.' method="get" action="view.php">
'. ''. -- 2.39.5