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 a7caf54..181a662 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 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);
index e792e79..b9369d3 100644 (file)
@@ -1291,7 +1291,7 @@ function CREATE_TIME_SELECTIONS($timestamp, $prefix="", $display="", $align="cen
        global $_CONFIG;
 
        // Calculate 2-seconds timestamp
-       $stamp = round($timestamp / 2) * 2;
+       $stamp = round($timestamp);
 
        // Do we have a leap year?
        $SWITCH = 0;