1
0
mirror of synced 2024-11-25 14:56:09 +03:00

update chngelog

This commit is contained in:
Dmitry Mamontov 2015-02-16 10:30:04 +03:00
parent 88ca56156e
commit b8299b7718
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,5 @@
## 2015-02-13 v.1.0.16
* Все действия агента происходят от имени retailcrm
## 2015-02-12 v.1.0.16 ## 2015-02-12 v.1.0.16
* Исправлен агент * Исправлен агент
* Исправлены ошибки с запоминанием пользователя * Исправлены ошибки с запоминанием пользователя

View File

@ -1529,15 +1529,15 @@ class RetailUser extends CUser
$retailUser = new CUser; $retailUser = new CUser;
$userPassword = uniqid(); $userPassword = uniqid();
$arFields = array( $arFields = array(
"NAME" => 'retailcrm', "NAME" => 'retailcrm',
"LAST_NAME" => 'retailcrm', "LAST_NAME" => 'retailcrm',
"EMAIL" => 'retailcrm@retailcrm.com', "EMAIL" => 'retailcrm@retailcrm.com',
"LOGIN" => 'retailcrm', "LOGIN" => 'retailcrm',
"LID" => "ru", "LID" => "ru",
"ACTIVE" => "Y", "ACTIVE" => "Y",
"GROUP_ID" => array(2), "GROUP_ID" => array(2),
"PASSWORD" => $userPassword, "PASSWORD" => $userPassword,
"CONFIRM_PASSWORD" => $userPassword "CONFIRM_PASSWORD" => $userPassword
); );
$id = $retailUser->Add($arFields); $id = $retailUser->Add($arFields);
if (!$id) { if (!$id) {