diff --git a/data/script/furatalog.lib.php b/data/script/furatalog.lib.php index 9256f3e..0b80bf2 100644 --- a/data/script/furatalog.lib.php +++ b/data/script/furatalog.lib.php @@ -132,10 +132,10 @@ class furatalogLib { $tmpVal = $newtmpVal; - $whereRequest .= "(content.name REGEXP '%" . $tmpVal . "%' OR - creator.name REGEXP '%" . $tmpVal . "%' + $whereRequest .= "(content.name REGEXP '" . $tmpVal . "' OR + creator.name REGEXP '" . $tmpVal . "' " . ($section==1 ? - " OR species.name REGEXP '%" . $tmpVal . "%' OR species.tag REGEXP '%" . $tmpVal . "%') " : + " OR species.name REGEXP '" . $tmpVal . "' OR species.tag REGEXP '" . $tmpVal . "') " : ")") . ""; } } else {