mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-21 18:47:14 +00:00
fix: more manual typecastings
This commit is contained in:
@@ -8,7 +8,7 @@ $total_for2 = count($send);
|
||||
for($y=0;$y < $total_for;$y++){
|
||||
for($i=0;$i < $total_for2;$i++){
|
||||
if($units[$y]['ref'] == $send[$i]['ref2']){
|
||||
$res1 = mysqli_query($GLOBALS['link'],"SELECT * FROM " . TB_PREFIX . "send where id = ".$send[$i]['ref']."");
|
||||
$res1 = mysqli_query($GLOBALS['link'],"SELECT * FROM " . TB_PREFIX . "send where id = ".(int) $send[$i]['ref']."");
|
||||
$res = mysqli_fetch_array($res1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user