Code

Fixed warning message
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Apr 2011 13:50:26 +0000 (13:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Apr 2011 13:50:26 +0000 (13:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20740 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php

index e8597646fba22413648dbd1c56921f820953db89..67ce4e36414eedd4b41817935c8019f73cb28a7a 100644 (file)
@@ -311,7 +311,7 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
             $message= _("Please check the username/password combination!");
             $smarty->assign ('nextfield', 'password');
             session::global_set('config',$config);
-            $ip= $_SERVERREMOTE_ADDR;
+            $ip= $_SERVER['REMOTE_ADDR'];
             new log("security","login","",array(),"Authentication failed for user \"$username\" [from $ip]");
         } else {
             /* Remove all locks of this user */