From: hickert Date: Fri, 25 May 2007 07:13:35 +0000 (+0000) Subject: Fixed warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e5864b698d2004ed06f8f1af0ac160d5ec6228f7;p=gosa.git Fixed warning git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6480 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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\"") ;