small fix for real-time report

git-svn-id: svn://192.168.202.10@3102 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2019-05-24 20:46:59 +00:00
parent f6d4185de7
commit a11ffabcf7
+1
View File
@@ -2278,6 +2278,7 @@ if ($campaign_allow_inbound > 0)
$closer_campaignsSQL=$filter_closer_campaigns;
}
$closer_campaignsSQL=preg_replace('/,$/', '', $closer_campaignsSQL);
$stmtB="from vicidial_auto_calls where status NOT IN('XFER') and ( (call_type='IN' and campaign_id IN($closer_campaignsSQL)) or (call_type IN('OUT','OUTBALANCE') $group_SQLand) ) order by queue_priority desc,campaign_id,call_time;";
}