Fix phpcs
This commit is contained in:
parent
7281a51eff
commit
a773652c04
@ -5920,6 +5920,8 @@ abstract class CommonObject
|
|||||||
$type = $this->fields[$key]['type'];
|
$type = $this->fields[$key]['type'];
|
||||||
if (!in_array($type, array('select', 'checkbox', 'radio'))) {
|
if (!in_array($type, array('select', 'checkbox', 'radio'))) {
|
||||||
$type = 'select';
|
$type = 'select';
|
||||||
|
} else {
|
||||||
|
$type = $this->fields[$key]['type'];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$param['options'] = array();
|
$param['options'] = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user