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