avoid error when reserving respondents in a survey.
authorJamie McClelland <jm@mayfirst.org>
Mon, 15 Mar 2021 13:54:03 +0000 (09:54 -0400)
committerJamie McClelland <jm@mayfirst.org>
Mon, 15 Mar 2021 21:08:15 +0000 (17:08 -0400)
commitf60ff0538ac22b532e977b09515c7787d3351276
tree99fdb5f298781bd8cb530839fd84f0daf990fa96
parentf25b3dc2bc1c92a08577995b0abc379aa9844bd7
avoid error when reserving respondents in a survey.

The full error is:

Error: Call to a member function getSelectedIDs() on null in CRM_Campaign_Form_Task->preProcess() (line 38 of /var/www/powerbase/sites/all/modules/civicrm/CRM/Campaign/Form/Task.php).

I'm not sure if we should somehow be passing &$form to this function
instead?
CRM/Campaign/Form/Task.php