Fix phpcs
This commit is contained in:
parent
2dda4f5924
commit
7b990a1a7f
@ -1693,8 +1693,7 @@ class Form
|
||||
if ($showempty && ! is_numeric($showempty)) {
|
||||
$textforempty = $showempty;
|
||||
$out .= '<option class="optiongrey" value="-1"'.(in_array(-1, $selected) ? ' selected' : '').'>'.$textforempty.'</option>';
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
if (($showempty == 1 || ($showempty == 3 && $num > 1)) && ! $multiple) {
|
||||
$out .= '<option value="0"'.(in_array(0, $selected) ? ' selected' : '').'> </option>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user