From d4abc60e2fb9c18aef4ed437fea15a7b1436a29a Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Thu, 28 Nov 2013 17:02:21 +0400 Subject: [PATCH] user creation fix --- intaro.intarocrm/classes/general/ICrmOrderActions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intaro.intarocrm/classes/general/ICrmOrderActions.php b/intaro.intarocrm/classes/general/ICrmOrderActions.php index 216a7b31..97aa84be 100755 --- a/intaro.intarocrm/classes/general/ICrmOrderActions.php +++ b/intaro.intarocrm/classes/general/ICrmOrderActions.php @@ -266,7 +266,7 @@ class ICrmOrderActions } else { $login = 'intarocrm'; $serverName = 0 < strlen(SITE_SERVER_NAME)? SITE_SERVER_NAME : 'server.com'; - $email = $login . '@' . $server_name; + $email = $login . '@' . $serverName; $userPassword = randString(10); $user = new CUser;