From 9fb2efa0c5073af7e7edf17ccb471f995531d9dd Mon Sep 17 00:00:00 2001 From: hecht Date: Tue, 21 Jul 2015 18:42:21 +0000 Subject: [PATCH] corrected typo! --- ag/include/kampf_anzeige.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ag/include/kampf_anzeige.inc.php b/ag/include/kampf_anzeige.inc.php index 852c652..8e4883b 100644 --- a/ag/include/kampf_anzeige.inc.php +++ b/ag/include/kampf_anzeige.inc.php @@ -268,10 +268,10 @@ function displaySchatzSuche($char){ $items = getSchatzItems($row['anzahl']); for($i=0;$items[$i];$i++){ - $res = mysql_query('Update quest_item_stats set anzahl = anzahl + 1 WHERE monster = '.$row['anzahl'].' and id = '.$items[i]['id']); + $res = mysql_query('Update quest_item_stats set anzahl = anzahl + 1 WHERE monster = '.$row['anzahl'].' and id = '.$items[$i]['id']); if(mysql_affected_rows() == 0){ // entry not yet present - mysql_query('INSERT INTO quest_item_stats (monster, id, anzahl) values('.$row['anzahl'].', '.$items[i]['id'].', 1)'); + mysql_query('INSERT INTO quest_item_stats (monster, id, anzahl) values('.$row['anzahl'].', '.$items[$i]['id'].', 1)'); } } } else{