if ($this->_single) {
// also fix the user context stack in case the user hits cancel
- $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'basic');
+ $context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this, FALSE, 'basic');
if ($context == 'search' && CRM_Utils_Rule::qfKey($this->_searchKey)) {
$urlParams = "&context=$context&key=$this->_searchKey";
}
$session = CRM_Core_Session::singleton();
$currentUserId = $session->get('userID');
- $context = CRM_Utils_Request::retrieve('context', 'String', $this, FALSE, 'basic');
+ $context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this, FALSE, 'basic');
$urlParams = 'force=1';
$urlString = "civicrm/contact/search/$context";