From 9cb14dbd9ed8ac1c3f13832907194c76ad9270c6 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 20 May 2006 18:19:27 +0000 Subject: [PATCH] proper initialisation of $focus SC#257; merged from MOODLE_16_STABLE --- course/scales.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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". -- 2.39.5