NobuNobu
nobun****@users*****
2005年 7月 8日 (金) 18:19:14 JST
Index: xoops2jp/html/class/criteria.php diff -u xoops2jp/html/class/criteria.php:1.2.6.1.2.4 xoops2jp/html/class/criteria.php:1.2.6.1.2.5 --- xoops2jp/html/class/criteria.php:1.2.6.1.2.4 Thu Jun 30 17:14:49 2005 +++ xoops2jp/html/class/criteria.php Fri Jul 8 18:19:13 2005 @@ -1,5 +1,5 @@ <?php -// $Id: criteria.php,v 1.2.6.1.2.4 2005/06/30 08:14:49 onokazu Exp $ +// $Id: criteria.php,v 1.2.6.1.2.5 2005/07/08 09:19:13 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -344,7 +344,7 @@ } else { if ( (substr($value, 0, 1) != '`') && (substr($value, -1) != '`') ) { $db =& XoopsDatabaseFactory::getDatabaseConnection(); - $value = $db->quoteString($value); + $value = $db->quoteString($this->value); } } $clause = (!empty($this->prefix) ? "{$this->prefix}." : "") . $this->column;