From: hickert Date: Mon, 18 Apr 2011 13:50:26 +0000 (+0000) Subject: Fixed warning message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=882a12f70cfdd7101c50b00d10b43df5f5bcb406;p=gosa.git Fixed warning message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20740 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index e8597646f..67ce4e364 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -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 */