Fix code execution path
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
fb71cfa18d
commit
4a05b4265e
@ -395,6 +395,7 @@ class FormDisplay
|
||||
$opts['errors'] = $this->_errors[$work_path];
|
||||
}
|
||||
|
||||
$type = '';
|
||||
switch ($form->getOptionType($field)) {
|
||||
case 'string':
|
||||
$type = 'text';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user