diff --git a/agc_1-X/trunk/agc/vicidial.php b/agc_1-X/trunk/agc/vicidial.php index 7d6acae2..341601a1 100644 --- a/agc_1-X/trunk/agc/vicidial.php +++ b/agc_1-X/trunk/agc/vicidial.php @@ -112,6 +112,7 @@ # 60609-1123 - Added add-number-to-DNC-list function and manual dial check DNC # 60619-1047 - Added variable filters to close security holes for login form # 60804-1710 - fixed scheduled CALLBK for other languages build +# 60816-1715 - Fixed customer time display bug and client DST setting # require("dbconnect.php"); @@ -157,8 +158,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];} $forever_stop=0; -$version = '1.1.86'; -$build = '60804-1710'; +$version = '1.1.87'; +$build = '60816-1715'; if ($force_logout) { @@ -166,6 +167,7 @@ if ($force_logout) exit; } +$isdst = date("I"); $StarTtimE = date("U"); $NOW_TIME = date("Y-m-d H:i:s"); $tsNOW_TIME = date("YmdHis"); @@ -186,6 +188,7 @@ $view_scripts = '1'; # set to 1 to show the SCRIPTS tab $dispo_check_all_pause = '0'; # set to 1 to allow for persistent pause after dispo $agentcallsstatus = '0'; # set to 1 to show agent status and call count $campagentstatctmax = '0'; # Number of seconds for campaign call and agent stats +$clientDST = '1'; # set to 1 to check for DST on server for agent time $TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen @@ -740,6 +743,10 @@ else $DBX_pass=$row[58]; $DBX_port=$row[59]; + if ($clientDST) + { + $local_gmt = ($local_gmt + $isdst); + } if ($protocol == 'EXTERNAL') { $protocol = 'Local';