Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $fildLias = CCrmFieldMulti::GetList(array(),array('ENTITY_ID' => 'LEAD', 'VALUE' => $arField["VALUE"]));
- if (intval($fildLias->SelectedRowsCount())>0){
- while ($row = $fildLias->GetNext()){
- if($arFields["ID"] == $row["ELEMENT_ID"]) continue;
- //$assigned = $row["ASSIGNED_BY"];
- $responsible = 1;
- $leadID = $row["ELEMENT_ID"];
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement