From 90188be8c88530ed07f358af2f34481f9041ee25 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Thu, 19 Dec 2019 13:32:43 +0100 Subject: [PATCH] Removed typo --- api/src/Subscriber/FieldsAndExtendSubscriber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Subscriber/FieldsAndExtendSubscriber.php b/api/src/Subscriber/FieldsAndExtendSubscriber.php index 5b9c7e04..e8c604e2 100644 --- a/api/src/Subscriber/FieldsAndExtendSubscriber.php +++ b/api/src/Subscriber/FieldsAndExtendSubscriber.php @@ -54,7 +54,7 @@ public function FilterFields(GetResponseForControllerResultEvent $event) } // Its possible to nest fields for filterins - foreach($fields as $key->$value){ + foreach($fields as $key => $value){ // Lets check if the fields contain one or more .'s if (strpos($value, '.') !== false) { // This is where it gets complicated couse it could go on indevinitly