Fix for surfbar reset
authorRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 23:11:45 +0000 (23:11 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 6 Oct 2008 23:11:45 +0000 (23:11 +0000)
inc/databases.php
inc/reset/reset_surfbar.php

index e17210d..64fd579 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', "466");
+define('CURR_SVN_REVISION', "467");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 5398a77..11408d7 100644 (file)
@@ -43,7 +43,7 @@ if (!defined('__SECURITY')) {
 if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
 
 // Reset surfbar counter
-UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter`"), array(0, $_CONFIG['surfbar_daily_counter']));
+UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter"), array(0, $_CONFIG['surfbar_daily_counter']));
 $_CONFIG['surfbar_yester_counter'] = $_CONFIG['surfbar_daily_counter'];
 $_CONFIG['surfbar_daily_counter'] = 0;