Fix code execution path

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2015-07-04 06:40:49 -04:00
parent fb71cfa18d
commit 4a05b4265e

View File

@ -395,6 +395,7 @@ class FormDisplay
$opts['errors'] = $this->_errors[$work_path];
}
$type = '';
switch ($form->getOptionType($field)) {
case 'string':
$type = 'text';