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