diff --git a/src/Dropdown.php b/src/Dropdown.php index e1c2f5ee6ed..879d69f441a 100644 --- a/src/Dropdown.php +++ b/src/Dropdown.php @@ -155,8 +155,7 @@ public static function show($itemtype, $options = []) $name = $params['toadd'][$params['value']]; } else if ( !$params['multiple'] - && $params['value'] > 0 - || ($itemtype == "Entity" && $params['value'] >= 0) + && ($params['value'] > 0 || ($itemtype == "Entity" && $params['value'] >= 0)) ) { $tmpname = self::getDropdownName($table, $params['value'], 1);