mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
Fixed Bug in ObjectApplyMatches, hard-coded object length broke filter matching for all but hosts
This commit is contained in:
parent
a8e6f53f70
commit
c7eb34af97
@ -169,7 +169,7 @@ abstract class ObjectApplyMatches
|
||||
$type = static::$type;
|
||||
|
||||
if (substr($col, 0, strlen($type) + 1) === "${type}.") {
|
||||
$filter->setColumn($col = substr($col, 5));
|
||||
$filter->setColumn($col = substr($col, strlen($type) + 1));
|
||||
}
|
||||
|
||||
if (array_key_exists($col, self::$columnMap)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user