From 958cf9a635661d96d0ff769f3cf659182f2fe271 Mon Sep 17 00:00:00 2001 From: Alex Stoica <0x01.alex@gmail.com> Date: Sun, 7 Jan 2018 05:30:05 +0000 Subject: [PATCH] Fix bad defied row key --- Templates/Ranking/ww.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Ranking/ww.tpl b/Templates/Ranking/ww.tpl index c7abf3fc..a7ba3bf7 100644 --- a/Templates/Ranking/ww.tpl +++ b/Templates/Ranking/ww.tpl @@ -26,7 +26,7 @@ if (WW == True) $cont = 1; 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'); $row2 = @mysqli_fetch_assoc($query); ?>