mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-01 08:07:14 +00:00
fix: a lot of MySQL calls in templates replaced by MySQLi ones
This commit is contained in:
@@ -46,7 +46,7 @@ global $database;
|
||||
}
|
||||
|
||||
$result = $database->query($q);
|
||||
$active = $database->mysql_fetch_all($result);
|
||||
$active = $database->mysqli_fetch_all($result);
|
||||
for ($i = 0; $i <= count($active)-1; $i++){
|
||||
$uid = $database->getUserField($active[$i]['username'],'id',1);
|
||||
$varray = $database->getProfileVillages($uid);
|
||||
|
||||
Reference in New Issue
Block a user