1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-06 12:15:38 +02:00

Bug in field checking routine

This commit is contained in:
e107steved 2007-07-24 21:29:36 +00:00
parent ebce2b96e8
commit f4ee759ecc

View File

@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $ | $Source: /cvs_backup/e107_0.8/e107_handlers/mysql_class.php,v $
| $Revision: 1.15 $ | $Revision: 1.16 $
| $Date: 2007-06-26 21:34:24 $ | $Date: 2007-07-24 21:29:24 $
| $Author: e107steved $ | $Author: e107steved $
| |
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
@ -30,7 +30,7 @@ $db_ConnectionID = NULL;
* MySQL Abstraction class * MySQL Abstraction class
* *
* @package e107 * @package e107
* @version $Revision: 1.15 $ * @version $Revision: 1.16 $
* @author $Author: e107steved $ * @author $Author: e107steved $
*/ */
class db { class db {
@ -766,7 +766,7 @@ class db {
} }
else else
{ {
if(($key == "") && ($fieldid == $row['Field'])) if(($key == "OFF") && ($fieldid == $row['Field']))
{ {
return TRUE; // key not in use, but field matches. return TRUE; // key not in use, but field matches.
} }