From b5767cfad89f0f9437061f842f29e4352c4a28b0 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 2 Oct 2019 20:49:22 +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 1e3b946..17af6cd 100644 --- a/system/database.php +++ b/system/database.php @@ -363,7 +363,7 @@ if(!check_function_exists("get_bind_to_sql_where")) { } elseif(check_array_length($opts, 2) == 0 && is_array($opts[1])) { if(is_array($opts[1][0])) { // recursive - $s3 .= sprintf(" %s (%s)", $opts[0], get_bind_to_sql_where(false, array( + $s3 .= sprintf(" %s (1 %s)", $opts[0], get_bind_to_sql_where(false, array( "setwheres" => $opts[1][0] )); } elseif($opts[1][0] == "like") {