From ffa4f50c652884e2dc32c5edec54d3f94e72506b Mon Sep 17 00:00:00 2001 From: Jazz Date: Thu, 14 Dec 2017 15:59:04 +0200 Subject: [PATCH] Update Task.php Fatal error: Uncaught Error: Using $this when not in object context --- CRM/Event/Form/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Task.php b/CRM/Event/Form/Task.php index 231089cfc5..1929edd6b8 100644 --- a/CRM/Event/Form/Task.php +++ b/CRM/Event/Form/Task.php @@ -127,7 +127,7 @@ class CRM_Event_Form_Task extends CRM_Core_Form { //set the context for redirection for any task actions $session = CRM_Core_Session::singleton(); - $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $this); + $qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $form); $urlParams = 'force=1'; if (CRM_Utils_Rule::qfKey($qfKey)) { $urlParams .= "&qfKey=$qfKey"; -- 2.25.1