From 76d0ed22e79bb7bc4543312ed2bb7210ee19094a Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Thu, 12 Apr 2018 15:10:00 +0200 Subject: [PATCH] legacy/ObjectApplyMatches: Fix fetchFlatObjectsByType using object Instead of flat variables. --- library/Director/Objects/ObjectApplyMatches.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");