more fixes and changes

This commit is contained in:
unknown
2012-06-25 03:12:17 +03:00
parent ba3eba0cc7
commit 337717bcb1
14 changed files with 51 additions and 53 deletions
+1 -1
View File
@@ -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();
}