Merge pull request #12364 from JMAConsulting/dev-core-210
[civicrm-core.git] / CRM / Contribute / Form / Search.php
index 7fa4f02bf0bc317b3fa6fb08afa4213bfb5a7d9b..035b9523e822dd4b7e568e8f37ab062a09eadefa 100644 (file)
@@ -83,7 +83,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search {
     $this->_reset = CRM_Utils_Request::retrieve('reset', 'Boolean');
     $this->_force = CRM_Utils_Request::retrieve('force', 'Boolean', $this, FALSE);
     $this->_limit = CRM_Utils_Request::retrieve('limit', 'Positive', $this);
-    $this->_context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'search');
+    $this->_context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this, FALSE, 'search');
 
     $this->assign("context", $this->_context);