diff --git a/library/Director/Objects/ObjectApplyMatches.php b/library/Director/Objects/ObjectApplyMatches.php index 85145d57..85560b4d 100644 --- a/library/Director/Objects/ObjectApplyMatches.php +++ b/library/Director/Objects/ObjectApplyMatches.php @@ -132,7 +132,7 @@ abstract class ObjectApplyMatches } $flat = $object->toPlainObject(true, false); - static::flattenVars($object); + static::flattenVars($flat); $objects[$object->getObjectName()] = $flat; } Benchmark::measure("ObjectApplyMatches: $type cache ready");