mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-06 21:04:20 +00:00
fix: MySQL 5.7 incompatibility
This commit is contained in:
@@ -4993,7 +4993,7 @@ References: User ID/Message ID, Mode
|
||||
}
|
||||
}
|
||||
|
||||
$q = "SELECT CONCAT(type, \"=\", Count(type)) FROM " . TB_PREFIX . "bdata where wid = $wid and type IN(".implode(', ', $type).") and master = 0";
|
||||
$q = "SELECT CONCAT(type, \"=\", Count(type)) FROM " . TB_PREFIX . "bdata where wid = $wid and type IN(".implode(', ', $type).") and master = 0 GROUP BY type";
|
||||
$result = mysqli_query($this->dblink, $q);
|
||||
$newresult = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user