From efcc66d290a5e12d214d4cbc90ca49f1c2f2cac2 Mon Sep 17 00:00:00 2001 From: kapsona777 Date: Fri, 4 Oct 2024 14:40:48 +0400 Subject: [PATCH] fx --- public/userarea/importify/importify_bg_script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/userarea/importify/importify_bg_script.php b/public/userarea/importify/importify_bg_script.php index aaf0786..eaec4d9 100644 --- a/public/userarea/importify/importify_bg_script.php +++ b/public/userarea/importify/importify_bg_script.php @@ -254,7 +254,7 @@ foreach ($arr_total_products as $product) { $trim_cas_val = str_replace("\n", "", str_replace("'", "\'", $cas_val)); $analysis_query = new WA_MySQLi_RS("getquery", $repnew, 0); - $analysis_query->setQuery("SELECT * FROM compundsvocabulary WHERE cascompoundvocabulary = '$trim_cas_val'"); + $analysis_query->setQuery("SELECT * FROM compundsvocabulary WHERE cascompoundvocabulary = '%$trim_cas_val%'"); $analysis_query->execute(); $analysis_data = $analysis_query->Results;