Made UID not null in ivt customer transfer

This commit is contained in:
Frank Schubert
2022-05-08 12:35:46 +02:00
parent 5481603c36
commit 9df4810892

View File

@@ -49,7 +49,7 @@ class IvtCustomerController extends mfBaseController {
$ivtc->firstname = "";
$ivtc->surname = str_replace("\r\n", " ", str_replace("\n", " ", $contact->company));
}
$ivtc->UID = $contact->uid; // XXX
$ivtc->UID = ($contact->uid) ? $contact->uid : ""; //cannot be NULL
$ivtc->zip = $contact->zip;
$ivtc->location = $contact->city;