mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 14:47:14 +00:00
Fix bad defied row key
This commit is contained in:
@@ -26,7 +26,7 @@ if (WW == True)
|
|||||||
$cont = 1;
|
$cont = 1;
|
||||||
while ($row = mysqli_fetch_array($result))
|
while ($row = mysqli_fetch_array($result))
|
||||||
{
|
{
|
||||||
$ally = $database->getAlliance($row[alliance]);
|
$ally = $database->getAlliance($row['alliance']);
|
||||||
$query = @mysqli_query($GLOBALS['link'],'SELECT * FROM `' . TB_PREFIX . 'ww_attacks` WHERE `vid` = ' . $row['vref'] . ' ORDER BY `attack_time` ASC LIMIT 1');
|
$query = @mysqli_query($GLOBALS['link'],'SELECT * FROM `' . TB_PREFIX . 'ww_attacks` WHERE `vid` = ' . $row['vref'] . ' ORDER BY `attack_time` ASC LIMIT 1');
|
||||||
$row2 = @mysqli_fetch_assoc($query);
|
$row2 = @mysqli_fetch_assoc($query);
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user