From 8b13df9397fa195a5bbb9417e947128fe8c850f3 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Tue, 24 Oct 2023 23:44:40 +0200 Subject: [PATCH] FIX: typo at isFormResponse --- src/GraphQL/ObjectGraphQlEx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphQL/ObjectGraphQlEx.php b/src/GraphQL/ObjectGraphQlEx.php index 438adbe..4515f35 100644 --- a/src/GraphQL/ObjectGraphQlEx.php +++ b/src/GraphQL/ObjectGraphQlEx.php @@ -39,7 +39,7 @@ class ObjectGraphQlEx extends DataExtension public function isFormResponse() { $curr = Controller::curr(); - $req = $this->getRequest(); + $req = $curr->getRequest(); return $req->requestVar('SecurityID') || $req->httpMethod() === 'POST'; }