MDL-30770 admin: Fixed notice about missing variable

This commit is contained in:
Sam Hemelryk
2011-12-20 02:26:34 +01:00
committed by Eloy Lafuente (stronk7)
parent fbb829b82d
commit a5f35b4cf2
+1 -1
View File
@@ -98,13 +98,13 @@ if (empty($SITE->fullname)) {
$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 !== '') {