+fix userCreation without crm id; v1.0.9
This commit is contained in:
parent
9218018b7c
commit
74eb5f1d39
@ -505,6 +505,7 @@ class ICrmOrderActions
|
|||||||
|
|
||||||
// we dont need new orders without any customers (can check only for externalId)
|
// we dont need new orders without any customers (can check only for externalId)
|
||||||
if(!isset($order['customer']['externalId']) && !$order['customer']['externalId']) {
|
if(!isset($order['customer']['externalId']) && !$order['customer']['externalId']) {
|
||||||
|
if(!isset($order['customer']['id'])) continue; // if no id then skip
|
||||||
if (!$order['customer']['email']) {
|
if (!$order['customer']['email']) {
|
||||||
$login = 'user_' . (microtime(true) * 10000) . mt_rand(1, 1000);
|
$login = 'user_' . (microtime(true) * 10000) . mt_rand(1, 1000);
|
||||||
$server_name = 0 < strlen(SITE_SERVER_NAME)?
|
$server_name = 0 < strlen(SITE_SERVER_NAME)?
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
$arModuleVersion = array(
|
$arModuleVersion = array(
|
||||||
"VERSION" => "1.0.8",
|
"VERSION" => "1.0.9",
|
||||||
"VERSION_DATE" => "2014-07-14 10:49:00"
|
"VERSION_DATE" => "2014-07-22 15:35:00"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user