From: Jazz Date: Thu, 14 Dec 2017 13:59:04 +0000 (+0200) Subject: Update Task.php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ffa4f50c652884e2dc32c5edec54d3f94e72506b;p=civicrm-core.git Update Task.php Fatal error: Uncaught Error: Using $this when not in object context --- 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";