mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +02:00
ServicesetController: one more PHP 8.1 warning
This commit is contained in:
parent
673c1c520e
commit
7d68f8014b
@ -12,7 +12,6 @@ use Icinga\Module\Director\Web\Table\IcingaHostsMatchingFilterTable;
|
||||
use Icinga\Module\Director\Web\Table\IcingaServiceSetHostTable;
|
||||
use Icinga\Module\Director\Web\Table\IcingaServiceSetServiceTable;
|
||||
use gipfl\IcingaWeb2\Link;
|
||||
use Ramsey\Uuid\Uuid;
|
||||
|
||||
class ServicesetController extends ObjectController
|
||||
{
|
||||
@ -90,7 +89,7 @@ class ServicesetController extends ObjectController
|
||||
$table->renderTo($this);
|
||||
}
|
||||
$filter = $set->get('assign_filter');
|
||||
if (\strlen($filter) > 0) {
|
||||
if ($filter !== null && \strlen($filter) > 0) {
|
||||
$this->content()->add(
|
||||
IcingaHostsMatchingFilterTable::load(Filter::fromQueryString($filter), $this->db())
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user