wrong technik was queried for options

main
hecht 11 years ago
parent 366a86dd18
commit f9d25f6163

@ -18,7 +18,7 @@ if($technick1['type'] == "majin") {
$aktion_AV1[$x] = "nein"; $aktion_AV1[$x] = "nein";
$k_mp[0] = 0; $k_mp[0] = 0;
} else { } else {
$options = php_json_decode($technick1['options'], true); $options = json_decode($technick1['options'], true);
// options is now an array with following input possible ... // options is now an array with following input possible ...
// 'attribute' => array('strength', 'defense', 'speed') // 'attribute' => array('strength', 'defense', 'speed')
@ -64,7 +64,7 @@ if($technick1['type'] == "majin") {
$aktion_AV2[$x] = "nein"; $aktion_AV2[$x] = "nein";
$k_mp[1] = 0; $k_mp[1] = 0;
} else { } else {
$options = php_json_decode($technick1['options'], true); $options = json_decode($technick2['options'], true);
// options is now an array with following input possible ... // options is now an array with following input possible ...
// 'attribute' => array('strength', 'defense', 'speed') // 'attribute' => array('strength', 'defense', 'speed')

Loading…
Cancel
Save