Fix e-notice on contact create for low-permissioned user
authorcolemanw <coleman@civicrm.org>
Tue, 2 Jan 2024 15:08:53 +0000 (10:08 -0500)
committercolemanw <coleman@civicrm.org>
Tue, 2 Jan 2024 15:08:53 +0000 (10:08 -0500)
commit902fd88c3c78832e3d944aef08d3b075a83e84d2
treeb0ed25c1c2595bc3b10b1e546e9df2660e192855
parent42cb6102f3ed25cf9d2438ca8eeb815c3a04f9eb
Fix e-notice on contact create for low-permissioned user

This cleans up some very messy code which was emitting e-notices when the 'group' key was missing.
This can happen when the current user does not have permissions to add contacts to groups.
CRM/Contact/Form/Contact.php