Fix PHP static context error
authorColeman Watts <coleman@civicrm.org>
Tue, 14 Oct 2014 21:49:01 +0000 (17:49 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 14 Oct 2014 21:49:01 +0000 (17:49 -0400)
CRM/Member/Page/Tab.php

index e451396b501b13aab127a895840dcf2fa97b2073..f86f9a82b0202342135bb25c80fee17deeaca923 100644 (file)
@@ -374,7 +374,7 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
 
     $qfKey = CRM_Utils_Request::retrieve('key', 'String', $form);
 
-    $searchContext = CRM_Utils_Request::retrieve('searchContext', 'String', $this);
+    $searchContext = CRM_Utils_Request::retrieve('searchContext', 'String', $form);
 
     //validate the qfKey
     if (!CRM_Utils_Rule::qfKey($qfKey)) {