From 9df48108923cd72a9293194aeebb50564fa2d0d5 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Sun, 8 May 2022 12:35:46 +0200 Subject: [PATCH] Made UID not null in ivt customer transfer --- application/IvtCustomer/IvtCustomerController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/IvtCustomer/IvtCustomerController.php b/application/IvtCustomer/IvtCustomerController.php index 27f505d1b..a41bc2cdd 100644 --- a/application/IvtCustomer/IvtCustomerController.php +++ b/application/IvtCustomer/IvtCustomerController.php @@ -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;