From 9b3bd653b5103d8ec8e6188d7515aacebb5d6086 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 2 Oct 2008 00:00:08 +0000 Subject: [PATCH] Wrong variable fixed --- inc/databases.php | 2 +- inc/mysql-manager.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index c845071d18..0f5aefbdd2 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "430"); +define('CURR_SVN_REVISION', "431"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index ec203bd135..3ef6deee46 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1853,7 +1853,7 @@ function UPDATE_CONFIG ($entries, $values, $updateMode="") { $entries = substr($all, 0, -1); } elseif (!empty($updateMode)) { // Update mode set - $entries .= sprintf("=%s%s%s", $entries, $updateMode, (float)$value); + $entries .= sprintf("=%s%s%s", $entries, $updateMode, (float)$values); } else { // Regular entry to update $entries .= sprintf("='%s'", SQL_ESCAPE($values)); -- 2.39.5