Code

Fixed Javascript detection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Nov 2005 13:55:20 +0000 (13:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Nov 2005 13:55:20 +0000 (13:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1879 594d385d-05f5-0310-b6e9-bd551577e9d8

html/index.php

index 432b704a6f05db4e53cfdfad017e58fa6b6e8062..dc788d494836b7300ef1f2bd867e6f523293b553 100644 (file)
@@ -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;
 }