fix: a lot of MySQL calls in templates replaced by MySQLi ones

This commit is contained in:
Martin Ambrus
2017-08-28 23:56:59 +02:00
parent 814a904343
commit 92b9a7b043
75 changed files with 427 additions and 427 deletions
+1 -1
View File
@@ -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);