fix for issue 312, realtime drop in-group row display bug

git-svn-id: svn://192.168.202.10@1359 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-03-03 14:04:50 +00:00
parent 22ed63cc6e
commit b6b05837ea
2 changed files with 2 additions and 0 deletions
@@ -936,6 +936,7 @@ if ( ($DROPINGROUPstats > 0) and (!preg_match("/ALL-ACTIVE/",$group_string)) )
$dtp++;
}
$DIGcampaigns = preg_replace("/,$/",'',$DIGcampaigns);
if (strlen($DIGcampaigns) < 2) {$DIGcampaigns = "''";}
$stmtB="select sum(calls_today),sum(drops_today),sum(answers_today) from vicidial_campaign_stats where campaign_id IN($DIGcampaigns);";
if ($DB > 0) {echo "\n|$stmtB|\n";}
@@ -936,6 +936,7 @@ if ( ($DROPINGROUPstats > 0) and (!preg_match("/ALL-ACTIVE/",$group_string)) )
$dtp++;
}
$DIGcampaigns = preg_replace("/,$/",'',$DIGcampaigns);
if (strlen($DIGcampaigns) < 2) {$DIGcampaigns = "''";}
$stmtB="select sum(calls_today),sum(drops_today),sum(answers_today) from vicidial_campaign_stats where campaign_id IN($DIGcampaigns);";
if ($DB > 0) {echo "\n|$stmtB|\n";}