Yet-another fix... :(
authorRoland Häder <roland@mxchange.org>
Fri, 19 Dec 2008 16:20:03 +0000 (16:20 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 19 Dec 2008 16:20:03 +0000 (16:20 +0000)
inc/databases.php
inc/mysql-manager.php

index 8d626a6..d2f496c 100644 (file)
@@ -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);
index e4d76e4..4544a12 100644 (file)
@@ -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);