Commit 8e6d7866 authored by Kulya's avatar Kulya 😊

Fix StafStatsApp errors-4

parent c1ae9536
...@@ -442,8 +442,11 @@ class AloVoiceActions ...@@ -442,8 +442,11 @@ class AloVoiceActions
$chanFrom = 'FWD_('.$cKeys["connectedlinenum"].")"; $chanFrom = 'FWD_('.$cKeys["connectedlinenum"].")";
$arChans["Fwd"][$cKeys["connectedlinenum"]] = $cKeys; $arChans["Fwd"][$cKeys["connectedlinenum"]] = $cKeys;
} else { } else {
$chanFrom = $arChanLine[0]; $chanFrom = preg_replace("/[^0-9]/", '', $arChanLine[0]);
$arChans["Out"][$chanFrom] = $cKeys;
if(empty($arChans["Out"][$chanFrom]) && empty($arChans["Incom"][$chanFrom])){
$arChans["Out"][$chanFrom] = $cKeys;
}
} }
if(!empty($cKeys["outnum"])){ if(!empty($cKeys["outnum"])){
......
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