* @throws \CiviCRM_API3_Exception
*/
public function preProcess() {
+ // SearchFormName is deprecated & to be removed - the replacement is for the task to
+ // call $this->form->getSearchFormValues()
+ // A couple of extensions use it.
$this->set('searchFormName', 'Search');
/**
'id' => $this->_ssID,
'name' => CRM_Contact_BAO_SavedSearch::getName($this->_ssID, 'title'),
];
- $this->assign_by_ref('savedSearch', $savedSearchValues);
- $this->assign('ssID', $this->_ssID);
}
+ $this->assign('savedSearch', $savedSearchValues ?? NULL);
+ $this->assign('ssID', $this->_ssID);
$this->addTaskMenu($tasks);
}