From 39c968e3b30cb5d887a9c374ee9f67c3b0cbb08f Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 8 Nov 2005 13:55:20 +0000 Subject: [PATCH] Fixed Javascript detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1879 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2