From f9d25f61632e317fa479e2ce182a3fbbbc0d7ab0 Mon Sep 17 00:00:00 2001 From: hecht Date: Mon, 16 Dec 2013 21:43:26 +0000 Subject: [PATCH] wrong technik was queried for options --- ag/include/kampf/majin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ag/include/kampf/majin.php b/ag/include/kampf/majin.php index 7d77598..0a01cdf 100644 --- a/ag/include/kampf/majin.php +++ b/ag/include/kampf/majin.php @@ -18,7 +18,7 @@ if($technick1['type'] == "majin") { $aktion_AV1[$x] = "nein"; $k_mp[0] = 0; } else { - $options = php_json_decode($technick1['options'], true); + $options = json_decode($technick1['options'], true); // options is now an array with following input possible ... // 'attribute' => array('strength', 'defense', 'speed') @@ -64,7 +64,7 @@ if($technick1['type'] == "majin") { $aktion_AV2[$x] = "nein"; $k_mp[1] = 0; } else { - $options = php_json_decode($technick1['options'], true); + $options = json_decode($technick2['options'], true); // options is now an array with following input possible ... // 'attribute' => array('strength', 'defense', 'speed')