Issues with `civicrm_user_insert` and creating users via hook
Created by: laryn
I've been having some issues with other Backdrop modules related to user_insert
-- and it seems to be related to this commit:
(I was totally spitballing, but this line comes after the UF Match stuff, which seems to work fine):
CRM_Core_BAO_UFGroup::getEditHTML($contact_id, '', 2, TRUE, FALSE, NULL, FALSE, civicrm_get_ctype('Individual'));
The proof of concept: I commented that line out on the site in question and the import didn't crash!
Related: