Minahito
minah****@users*****
2007年 4月 25日 (水) 18:11:49 JST
Index: xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php diff -u xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php:1.1.2.4 xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php:1.1.2.4.2.1 --- xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php:1.1.2.4 Sat Dec 30 23:42:12 2006 +++ xoops2jp/html/modules/legacy/forms/SearchResultsForm.class.php Wed Apr 25 18:11:49 2007 @@ -66,6 +66,13 @@ $this->set('query', implode(" ", $this->mQueries)); } + function fetchAndor() + { + if ($this->get('andor') == "") { + $this->set('andor', 'AND'); + } + } + function validate() { parent::validate();