*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
*/
class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine {
*/
public function taskName($controller, $formName = 'Search') {
// total hack, check POST vars and then session to determine stuff
- $value = CRM_Utils_Array::value('task', $_POST);
+ $value = $_POST['task'] ?? NULL;
if (!isset($value)) {
$value = $this->_controller->get('task');
}