Made UID not null in ivt customer transfer
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user