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')