CRM-21507 Fix error when creating case activities
authorSean Madsen <sean@seanmadsen.com>
Sun, 3 Dec 2017 17:03:40 +0000 (12:03 -0500)
committerSean Madsen <sean@seanmadsen.com>
Sun, 3 Dec 2017 17:03:40 +0000 (12:03 -0500)
commit53c79877aa946e99fc4b367b0c914a7ba1d0a047
tree574038f3a0b35ae4b3d51cec3804d4e982eca165
parent74fb9726766e679c7aebfa4ad2ddd3731b83e845
CRM-21507 Fix error when creating case activities

Before: When adding a new activity to a case, an error message
"Activity Separation is a required field" appears and prevents the user
from submitting the form. There is no way to get around this error.

After: The user can create case activities without hitting this error
message. Also the error still displays as expected when creating
non-case activities that have multiple target contacts.

This changes fixes a regression caused by my fix for CRM-21419.
CRM/Activity/Form/Activity.php
CRM/Case/Form/Activity.php