use of global var fixed

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@501 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
Ian Berry committed 2003-02-13 08:06:04 +00:00
1 parent 513963b7ad
commit fddbfdbfa7
1 file changed
+1 -1
+1 -1
View File
@@ -115,7 +115,7 @@ case 'login':
/* --- end ldap section --- */
/* make entry in the transactions log */
db_execute("insert into user_log (username,result,ip) values('$username',1,'" . $_SERVER["REMOTE_ADDR"] . "')");
db_execute("insert into user_log (username,result,ip) values('" . $_POST["username"] . "',1,'" . $_SERVER["REMOTE_ADDR"] . "')");
/* set the php session */
$_SESSION["sess_user_id"] = $user["id"];