Skip to content

Commit

Permalink
Merge pull request #901 from pradpnayak/port-744
Browse files Browse the repository at this point in the history
ported #744
  • Loading branch information
jitendrapurohit authored Aug 13, 2023
2 parents a123642 + 1e4937d commit 670fbbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/wf_crm_webform_postprocess.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,8 @@ class wf_crm_webform_postprocess extends wf_crm_webform_base {
'location_type_id' => 'Billing',
];
if (!$cid) {
// Current employer must wait for ContactRef ids to be filled
unset($contact['contact'][1]['employer_id']);
$cid = $this->createContact($contact);
}
else {
Expand Down

0 comments on commit 670fbbb

Please sign in to comment.