mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 06:11:00 +00:00
Trying to fix this monstrosity #2
This commit is contained in:
@@ -121,7 +121,7 @@ $query2 = "SELECT
|
||||
ORDER BY FIND_IN_SET(".TB_PREFIX."wdata.id,'$maparray2')";
|
||||
|
||||
//echo $query2;
|
||||
$result2 = mysql_query($query2) or die(mysql_error());
|
||||
$result2 = mysqli_query($GLOBALS['link'],$query2) or die(mysqli_error());
|
||||
|
||||
$targetalliance = array();
|
||||
$neutralarray = array();
|
||||
@@ -307,7 +307,7 @@ $coorarray = array(
|
||||
,"924, 253, 961, 273, 924, 293, 887, 273"
|
||||
);
|
||||
|
||||
while ($donnees = mysql_fetch_assoc($result2)){
|
||||
while ($donnees = mysqli_fetch_assoc($result2)){
|
||||
|
||||
$targetalliance=$donnees["aliance_id"];
|
||||
$friendarray=$database->getAllianceAlly($donnees["aliance_id"],1);
|
||||
|
||||
Reference in New Issue
Block a user