Commit dc2a346e authored by Matthew Wire's avatar Matthew Wire

CRM-21391 Fix 'Find Respondents' Search Tasks

parent 6f5ba759
......@@ -209,9 +209,9 @@ class CRM_Campaign_Form_Search extends CRM_Core_Form_Search {
//hack to serve right page to state machine.
$taskMapping = array(
'interview' => 1,
'reserve' => 2,
'release' => 3,
'interview' => CRM_Campaign_Task::INTERVIEW,
'reserve' => CRM_Campaign_Task::RESERVE,
'release' => CRM_Campaign_Task::RELEASE,
);
$currentTaskValue = CRM_Utils_Array::value($this->_operation, $taskMapping);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment