From 74fd234d87edee0d5b5700b97f57623d3de8da39 Mon Sep 17 00:00:00 2001 From: SiskelDev Date: Tue, 10 Jun 2025 13:40:25 +0200 Subject: [PATCH] bug fixed --- data/script/furatalog.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {