From 6735263051e05523d5afc11972de027999d47e96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 Dec 2008 16:20:03 +0000 Subject: [PATCH] Yet-another fix... :( --- 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 8d626a67be..d2f496c8f6 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -115,7 +115,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "660"); +define('CURR_SVN_REVISION', "661"); // 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 e4d76e465d..4544a12929 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1405,7 +1405,7 @@ function GET_ADMIN_EMAIL ($aid) { // Load from database $result_aid = SQL_QUERY_ESC("SELECT email FROM "._MYSQL_PREFIX."_admins WHERE id=%s LIMIT 1", array(bigintval($aid)), __FILE__, __LINE__); - if (SQL_NUMROWS($result) == 1) { + if (SQL_NUMROWS($result_aid) == 1) { // Get data list($ret) = SQL_FETCHROW($result_aid); -- 2.39.5