From 8ba364bd4d9b3807471c9053be104976fa929225 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 14 Jul 2019 16:37:07 +0900 Subject: [PATCH] Update database.php --- system/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/database.php b/system/database.php index 22199c8..9b6922d 100644 --- a/system/database.php +++ b/system/database.php @@ -437,7 +437,7 @@ if(!check_function_exists("get_bind_to_sql_select")) { foreach($opts[1][2] as $word) { $s3a[] = sprintf("find_in_set('%s', %s)", $word, $opts[1][1]); } - $s3 .= sprintf(" %s (" . implode(" and ", $s3a) . ")", $opts[0]); + $s3 .= sprintf(" %s (%s)", $opts[0], implode(" and ", $s3a)); } } else { $ssts = array(