diff --git a/mod/data/view.php b/mod/data/view.php index f08be89b17a..40c2ce88f0e 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">
'. ''.