onokazu
onoka****@users*****
2005年 6月 30日 (木) 17:14:49 JST
Index: xoops2jp/html/class/criteria.php diff -u xoops2jp/html/class/criteria.php:1.2.6.1.2.3 xoops2jp/html/class/criteria.php:1.2.6.1.2.4 --- xoops2jp/html/class/criteria.php:1.2.6.1.2.3 Thu Jun 30 01:40:23 2005 +++ xoops2jp/html/class/criteria.php Thu Jun 30 17:14:49 2005 @@ -1,5 +1,5 @@ <?php -// $Id: criteria.php,v 1.2.6.1.2.3 2005/06/29 16:40:23 onokazu Exp $ +// $Id: criteria.php,v 1.2.6.1.2.4 2005/06/30 08:14:49 onokazu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -342,9 +342,6 @@ if (in_array(strtoupper($this->operator), array('IN', 'NOT IN'))) { $value = $this->value; } else { - if ( '' === ($value = trim($this->value)) ) { - return ''; - } if ( (substr($value, 0, 1) != '`') && (substr($value, -1) != '`') ) { $db =& XoopsDatabaseFactory::getDatabaseConnection(); $value = $db->quoteString($value);