}
}
}
- if ((sizeof($FATAL) > 0) || ($FATAL[0] != ''))
+ if ((sizeof($FATAL) > 0) || ((isset($FATAL[0])) && ($FATAL[0] != '')))
{
$OUT = "";
foreach ($FATAL as $value)
break;
default:
+ DEBUG_LOG(__FILE__, __LINE__, sprintf("Wrong page %s detected.", $_GET['page']));
OUTPUT_HTML(" <STRONG class=\"install_error\">".WRONG_PAGE."</STRONG>");
break;
}