Fix for 1 second
authorRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 16:28:03 +0000 (16:28 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 16:28:03 +0000 (16:28 +0000)
inc/databases.php
inc/functions.php

index a7caf545459ce77fccf5026a1d558ad32efc63bb..181a662aabac7d90ef792a85a51e905b1a0301e3 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "460");
+define('CURR_SVN_REVISION', "461");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index e792e79ddfd553a93e4a3594ddac1be6416d918a..b9369d3ebcfab2aa0a985c25b2c9059783eebd21 100644 (file)
@@ -1291,7 +1291,7 @@ function CREATE_TIME_SELECTIONS($timestamp, $prefix="", $display="", $align="cen
        global $_CONFIG;
 
        // Calculate 2-seconds timestamp
        global $_CONFIG;
 
        // Calculate 2-seconds timestamp
-       $stamp = round($timestamp / 2) * 2;
+       $stamp = round($timestamp);
 
        // Do we have a leap year?
        $SWITCH = 0;
 
        // Do we have a leap year?
        $SWITCH = 0;