Skip to content
Browse files

MDL-30770 admin: Fixed notice about missing variable

  • Loading branch information...
1 parent fbb829b commit a5f35b4cf2cb104fe57a38b36c0f2dcfcce83377 Sam Hemelryk committed with stronk7 Dec 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/settings.php
View
2 admin/settings.php
@@ -98,13 +98,13 @@
$url->param('adminedit', 'on');
}
$buttons = $OUTPUT->single_button($url, $caption, 'get');
+ $PAGE->set_button($buttons);
}
$visiblepathtosection = array_reverse($settingspage->visiblepath);
$PAGE->set_title("$SITE->shortname: " . implode(": ",$visiblepathtosection));
$PAGE->set_heading($SITE->fullname);
- $PAGE->set_button($buttons);
echo $OUTPUT->header();
if ($errormsg !== '') {

0 comments on commit a5f35b4

Please sign in to comment.
Something went wrong with that request. Please try again.