Browse Source

fix failing test

euromark 12 years ago
parent
commit
f331866b85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Helper/FormHelper.php

+ 1 - 1
src/View/Helper/FormHelper.php

@@ -886,7 +886,7 @@ class FormHelper extends Helper {
 	protected function _getInput($fieldName, $options) {
 		switch ($options['type']) {
 			case 'select':
-				$opts = $options['options'];
+				$opts = (array)$options['options'];
 				unset($options['options']);
 				return $this->select($fieldName, $opts, $options);
 			case 'url':