mirror of
https://github.com/e107inc/e107.git
synced 2025-05-03 10:49:12 +02:00
Bug in field checking routine
This commit is contained in:
parent
ebce2b96e8
commit
f4ee759ecc
@ -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.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user