mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-15 00:56:09 +00:00
fix: mysqli_fetch_all() only available with native mysqlnd driver
This commit is contained in:
@@ -4530,7 +4530,7 @@ References: User ID/Message ID, Mode
|
|||||||
LEFT JOIN '.TB_PREFIX.'users u ON u.id = v.owner
|
LEFT JOIN '.TB_PREFIX.'users u ON u.id = v.owner
|
||||||
WHERE d.vref = '.$wid;
|
WHERE d.vref = '.$wid;
|
||||||
|
|
||||||
$res = mysqli_fetch_all(mysqli_query($this->dblink, $q), MYSQLI_ASSOC);
|
$res = mysqli_fetch_array(mysqli_query($this->dblink, $q), MYSQLI_ASSOC);
|
||||||
foreach ($res as $key) {
|
foreach ($res as $key) {
|
||||||
// if this building being demolished is an Embassy or was demolished completely
|
// if this building being demolished is an Embassy or was demolished completely
|
||||||
// and the player is in an alliance, check and update their alliance status
|
// and the player is in an alliance, check and update their alliance status
|
||||||
|
|||||||
Reference in New Issue
Block a user