Fixed empty verification (0 might be considered as empty also, so its better to compare string value with '')
This commit is contained in:
parent
d2c853c47b
commit
82b37a514c
@ -1915,7 +1915,7 @@ class Form
|
|||||||
unset($producttmpselect);
|
unset($producttmpselect);
|
||||||
}
|
}
|
||||||
// handle case where product or service module is disabled + no filter specified
|
// 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
|
if (empty($conf->product->enabled)) { // when product module is disabled, show services only
|
||||||
$filtertype = 1;
|
$filtertype = 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user