diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 054a8ef2b1d..63246fb0287 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1915,7 +1915,7 @@ class Form unset($producttmpselect); } // handle case where product or service module is disabled + no filter specified - if (empty($filtertype)) + if ($filtertype == '') { if (empty($conf->product->enabled)) { // when product module is disabled, show services only $filtertype = 1;