From 9b9d1db8705736d68a023e49c6933bffa7d22367 Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 4 Jul 2013 13:56:49 +0000 Subject: [PATCH] Fixed minor issue #675 git-svn-id: svn://192.168.202.10@1998 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_IVRfilter.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_IVRstats.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_VDADstats.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_agent_days_detail.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_agent_performance.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_agent_status_detail.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_agent_time_detail.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_agent_timeclock_detail.php | 3 ++- agc_2-X/trunk/www/vicidial/AST_email_log_report.php | 3 ++- agc_2-X/trunk/www/vicidial/sph_report.php | 2 +- 12 files changed, 23 insertions(+), 12 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php index c72489df..85a32a81 100644 --- a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php @@ -39,6 +39,7 @@ # 130414-1429 - Added report logging # 130610-1023 - Finalized changing of all ereg instances to preg # 130621-0805 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0936 - Fixed issue #675 # $startMS = microtime(); @@ -464,7 +465,7 @@ if ($shift == 'AM') $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_IVRfilter.php b/agc_2-X/trunk/www/vicidial/AST_IVRfilter.php index 184a6509..2de3d492 100644 --- a/agc_2-X/trunk/www/vicidial/AST_IVRfilter.php +++ b/agc_2-X/trunk/www/vicidial/AST_IVRfilter.php @@ -12,6 +12,7 @@ # 130414-0257 - Added report logging # 130610-1007 - Finalized changing of all ereg instances to preg # 130621-0741 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0939 - Fixed issue #675 # $startMS = microtime(); @@ -247,7 +248,7 @@ if ($shift == 'AM') $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_IVRstats.php b/agc_2-X/trunk/www/vicidial/AST_IVRstats.php index 297c36c0..8e73b79c 100644 --- a/agc_2-X/trunk/www/vicidial/AST_IVRstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_IVRstats.php @@ -23,6 +23,7 @@ # 130114-0115 - Added report logging # 130610-1004 - Finalized changing of all ereg instances to preg # 130621-0738 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0940 - Fixed issue #675 # $startMS = microtime(); @@ -324,7 +325,7 @@ else $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_VDADstats.php b/agc_2-X/trunk/www/vicidial/AST_VDADstats.php index 508a29f0..171429eb 100644 --- a/agc_2-X/trunk/www/vicidial/AST_VDADstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_VDADstats.php @@ -35,6 +35,7 @@ # 130414-0117 - Added report logging # 130610-0956 - Finalized changing of all ereg instances to preg # 130620-2227 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0941 - Fixed issue #675 # $startMS = microtime(); @@ -507,7 +508,7 @@ else $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_days_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_days_detail.php index 772123fc..f0f5529c 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_days_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_days_detail.php @@ -19,6 +19,7 @@ # 130414-0143 - Added report logging # 130610-1037 - Finalized changing of all ereg instances to preg # 130621-0830 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0942 - Fixed issue #675 # $startMS = microtime(); @@ -354,7 +355,7 @@ else $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_performance.php b/agc_2-X/trunk/www/vicidial/AST_agent_performance.php index dec24c90..6355b28e 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_performance.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_performance.php @@ -11,6 +11,7 @@ # 90508-0644 - Changed to PHP long tags # 130610-1135 - Finalized changing of all ereg instances to preg # 130621-0825 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0943 - Fixed issue #675 # require("dbconnect.php"); @@ -174,7 +175,7 @@ else if ($shift == 'AM') { $query_date_BEGIN = "$query_date 08:45:00"; - $query_date_END = "$query_date 15:33:00"; + $query_date_END = "$query_date 15:32:59"; $time_BEGIN = "08:45:00"; $time_END = "15:33:00"; } diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php index 80816bd2..2b25adc2 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_performance_detail.php @@ -34,6 +34,7 @@ # 130414-0140 - Added report logging # 130610-1031 - Finalized changing of all ereg instances to preg # 130621-0824 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0935 - Fixed issue #675 # $startMS = microtime(); @@ -458,7 +459,7 @@ if ($shift == 'AM') $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_status_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_status_detail.php index e000a782..a59ee294 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_status_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_status_detail.php @@ -21,6 +21,7 @@ # 130414-0139 - Added report logging # 130610-1029 - Finalized changing of all ereg instances to preg # 130621-0822 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0944 - Fixed issue #675 # $startMS = microtime(); @@ -406,7 +407,7 @@ else $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { 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 47aec77e..97d633bf 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 @@ -28,6 +28,7 @@ # 220414-2111 - Added counts on parked(hold) calls # 130610-0849 - Finalized changing of all ereg instances to preg # 130621-0821 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0945 - Fixed issue #675 # $startMS = microtime(); @@ -409,7 +410,7 @@ else $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_agent_timeclock_detail.php b/agc_2-X/trunk/www/vicidial/AST_agent_timeclock_detail.php index 8a391bb6..1200f2b9 100644 --- a/agc_2-X/trunk/www/vicidial/AST_agent_timeclock_detail.php +++ b/agc_2-X/trunk/www/vicidial/AST_agent_timeclock_detail.php @@ -16,6 +16,7 @@ # 130414-0154 - Added report logging # 130610-1024 - Finalized changing of all ereg instances to preg # 130621-0810 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0946 - Fixed issue #675 # $startMS = microtime(); @@ -363,7 +364,7 @@ else $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/AST_email_log_report.php b/agc_2-X/trunk/www/vicidial/AST_email_log_report.php index f161a093..085b6f4f 100644 --- a/agc_2-X/trunk/www/vicidial/AST_email_log_report.php +++ b/agc_2-X/trunk/www/vicidial/AST_email_log_report.php @@ -10,6 +10,7 @@ # 130414-0132 - Added report logging # 130610-1016 - Finalized changing of all ereg instances to preg # 130621-0753 - Added filtering of input to prevent SQL injection attacks and new user auth +# 130704-0947 - Fixed issue #675 # $startMS = microtime(); @@ -410,7 +411,7 @@ if ($shift == 'AM') $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') { diff --git a/agc_2-X/trunk/www/vicidial/sph_report.php b/agc_2-X/trunk/www/vicidial/sph_report.php index 64e542de..dc075f5b 100644 --- a/agc_2-X/trunk/www/vicidial/sph_report.php +++ b/agc_2-X/trunk/www/vicidial/sph_report.php @@ -455,7 +455,7 @@ if ($shift == 'AM') $time_BEGIN=$AM_shift_BEGIN; $time_END=$AM_shift_END; if (strlen($time_BEGIN) < 6) {$time_BEGIN = "03:45:00";} - if (strlen($time_END) < 6) {$time_END = "15:15:00";} + if (strlen($time_END) < 6) {$time_END = "15:14:59";} } if ($shift == 'PM') {