From: hickert Date: Tue, 8 Nov 2005 13:55:20 +0000 (+0000) Subject: Fixed Javascript detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=39c968e3b30cb5d887a9c374ee9f67c3b0cbb08f;p=gosa.git Fixed Javascript detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1879 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/index.php b/html/index.php index 432b704a6..dc788d494 100644 --- a/html/index.php +++ b/html/index.php @@ -40,7 +40,7 @@ $_SESSION['errors']= ""; /* Check for java script */ if(isset($_POST['javascript']) && $_POST['javascript'] == "true") { $_SESSION['js']= TRUE; -} else { +}elseif(isset($_POST['javascript'])) { $_SESSION['js']= FALSE; }