Commit c1ae9536 authored by Kulya's avatar Kulya 😊

Fix StafStatsApp errors-3

parent 50f8ae5b
......@@ -520,11 +520,17 @@ class AloVoiceActions
$userLink = '';
$userLine = '';
$userId = '';
if(!empty($bxPhoneUsers[$arPeer["cid_num"]])){
$u = $bxPhoneUsers[$arPeer["cid_num"]];
$uName = (!empty($u["NAME"])) ? $u["NAME"] : '';
$uLastName = (!empty($u["LAST_NAME"])) ? $u["LAST_NAME"] : '';
$userFullname = $uName.' '.$uLastName;
$userLink = 'https://'.$this->configs["bitrix_domain"].'/company/personal/user/'.$u["ID"].'/';
// $userLine = '<a href="https://4uz.bitrix24.ru/company/personal/user/'.$u["ID"].'/" target="_blank">'.$u["NAME"].' '.$u["LAST_NAME"].'</a>';
$userLine = '<a href="https://'.$this->configs["bitrix_domain"].'/company/personal/user/'.$u["ID"].'/" target="_blank">'.$userFullname.' ('.$arPeer["cid_num"].')</a>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment