diff --git a/src/Dropdown.php b/src/Dropdown.php index 715c1d1e5cf..97ca3cbcc19 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);