proper initialisation of $focus SC#257

This commit is contained in:
skodak
2006-05-20 18:18:30 +00:00
parent bf55369e5d
commit eb676fdf9a
+1 -4
View File
@@ -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",
"<a href=\"view.php?id=$course->id\">$course->shortname</a>".
" -> <a href=\"scales.php?id=$course->id\">$strscales</a>".