Fixed Bug in ObjectApplyMatches, hard-coded object length broke filter matching for all but hosts

This commit is contained in:
Gregory Hargreaves 2018-10-20 14:41:10 +01:00 committed by Thomas Gelf
parent a8e6f53f70
commit c7eb34af97

View File

@ -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)) {