1
0
mirror of synced 2024-11-29 08:46:09 +03:00

user creation fix

This commit is contained in:
Grisha Pomadchin 2013-11-28 17:02:21 +04:00
parent 5df36eaa5d
commit d4abc60e2f

View File

@ -266,7 +266,7 @@ class ICrmOrderActions
} else { } else {
$login = 'intarocrm'; $login = 'intarocrm';
$serverName = 0 < strlen(SITE_SERVER_NAME)? SITE_SERVER_NAME : 'server.com'; $serverName = 0 < strlen(SITE_SERVER_NAME)? SITE_SERVER_NAME : 'server.com';
$email = $login . '@' . $server_name; $email = $login . '@' . $serverName;
$userPassword = randString(10); $userPassword = randString(10);
$user = new CUser; $user = new CUser;