Code

Fixed warning message
[gosa.git] / 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 */