mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-18 10:36:09 +00:00
more fixes and changes
This commit is contained in:
@@ -203,7 +203,7 @@ class Account {
|
||||
private function Logout() {
|
||||
global $session,$database;
|
||||
unset($_SESSION['wid']);
|
||||
$database->activeModify($session->username,1);
|
||||
$database->activeModify(addslashes($session->username),1);
|
||||
$database->UpdateOnline("logout") or die(mysql_error());
|
||||
$session->Logout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user