From e5864b698d2004ed06f8f1af0ac160d5ec6228f7 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 25 May 2007 07:13:35 +0000 Subject: [PATCH] Fixed warning git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6480 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 e911823c5..7977dfab0 100644 --- a/html/index.php +++ b/html/index.php @@ -262,7 +262,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])){ /* Login as user, initialize user ACL's */ $ui= ldap_login_user($username, $_POST["password"]); - if ($ui === NULL || $ui == 0){ + if ($ui === NULL || !$ui){ $message= _("Please check the username/password combination."); $smarty->assign ('nextfield', 'password'); new log("security","login","",array(),"Authentication failed for user \"$username\"") ; -- 2.30.2