Unverified Commit 42a0531c authored by eileen's avatar eileen 🎱 Committed by GitHub
Browse files

Merge pull request #11815 from eileenmcnaughton/notice

Activity Form - Fix recently introduced warning
parents 8c6a5262 576ddff5
......@@ -810,7 +810,7 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
$this->addFormRule(array('CRM_Activity_Form_Activity', 'formRule'), $this);
$doNotNotifyAssigneeFor = Civi::settings()->get('do_not_notify_assignees_for');
$doNotNotifyAssigneeFor = (array) Civi::settings()->get('do_not_notify_assignees_for');
if (($this->_activityTypeId && in_array($this->_activityTypeId, $doNotNotifyAssigneeFor)) || !Civi::settings()->get('activity_assignee_notification')) {
$this->assign('activityAssigneeNotification', FALSE);
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