Permalink
Browse files

Fix failing test.

  • Loading branch information...
1 parent 4ef7146 commit 93518190e2043642ece186776c72721034adedaa @markstory markstory committed Feb 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/View/Helper/FormHelper.php
@@ -2778,8 +2778,8 @@ protected function _initInputField($field, $options = []) {
}
if (!isset($options['val']) && isset($options['default'])) {
$options['val'] = $options['default'];
- unset($options['default']);
}
+ unset($options['value'], $options['default']);
if ($context->hasError($field)) {
$options = $this->addClass($options, $this->settings['errorClass']);

0 comments on commit 9351819

Please sign in to comment.