From: cajus Date: Thu, 8 Dec 2005 13:49:45 +0000 (+0000) Subject: Fixed problem with undefined index X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9e1c5f8682c211b814aa0aad2f9f305117e004e9;p=gosa.git Fixed problem with undefined index git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2261 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/php_setup.inc b/include/php_setup.inc index e746e4140..3274152dc 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -65,7 +65,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) /* Create header as needed */ if ($error_collector == ""){ - if ($_SESSION['js']==FALSE){ + if (isset($_SESSION['js']) && $_SESSION['js']==FALSE){ $error_collector= "
"; } else { $error_collector= "
\"\" "._("Generating this page caused the PHP interpreter to raise some errors!")."