Skip to content

Commit

Permalink
Merge pull request #33 from jkaan/master
Browse files Browse the repository at this point in the history
- Fix issue with choice field when first option is selected

thanks @jkaan this is one of those things where I wonder if I even can write php
  • Loading branch information
jadwigo committed Aug 5, 2015
2 parents d1c55be + 7d7fb10 commit d079f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ private function processForm($formconfig, $form, $formname)
$data[$key][$k] = $options[$v];
}
}
} elseif(isset($options[$value]) && $options[$value] != $value) {
} elseif(isset($options[$value]) && $options[$value] !== $value) {
$data[$key] = $options[$value];
}

Expand Down

0 comments on commit d079f92

Please sign in to comment.