From 47e1d59089cdb58048eb30a46d0c372bd5755e15 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 14 May 2013 10:33:27 +0000 Subject: [PATCH] Small fix for agent time detail report git-svn-id: svn://192.168.202.10@1984 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php index a2bcb7a6..8a340484 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php @@ -494,7 +494,7 @@ else # Displays park info - need to run regardless so HTML view will populate $park_array=array(); - $park_stmt="select user, count(*), sum(parked_sec) From park_log where parked_time <= '$query_date_END' and parked_time >= '$query_date_BEGIN' $park_log_SQL"; + $park_stmt="select user, count(*), sum(parked_sec) From park_log where parked_time <= '$query_date_END' and parked_time >= '$query_date_BEGIN' $park_log_SQL group by user"; if ($DB) {$ASCII_text.= "$park_stmt\n";} $park_rslt=mysql_query($park_stmt, $link); while ($park_row=mysql_fetch_row($park_rslt)) {