From: skodak Date: Sat, 20 May 2006 18:19:27 +0000 (+0000) Subject: proper initialisation of $focus SC#257; merged from MOODLE_16_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9cb14dbd9ed8ac1c3f13832907194c76ad9270c6;p=moodle.git proper initialisation of $focus SC#257; merged from MOODLE_16_STABLE --- diff --git a/course/scales.php b/course/scales.php index 7aa0790364..79aa316425 100644 --- a/course/scales.php +++ b/course/scales.php @@ -43,7 +43,7 @@ $courses = array(); /// If scale data is being submitted, then save it and continue - + $focus = ""; $errors = NULL; if ($action == 'sendform' and confirm_sesskey()) { @@ -166,9 +166,6 @@ } //Print out the headers - if (!isset($focus)) { - $focus = ""; - } print_header("$course->shortname: $strscales", "$course->fullname", "id\">$course->shortname". " -> id\">$strscales".