From b3a30ef34d62d0d947134ea2107b005ffdd3ac03 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 27 Sep 2019 14:43:40 +0900 Subject: [PATCH] Update database.php --- system/database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/database.php b/system/database.php index d1be438..44fe331 100644 --- a/system/database.php +++ b/system/database.php @@ -391,10 +391,10 @@ if(!check_function_exists("get_bind_to_sql_select")) { } // use mysql function - if(!array_key_empty("sql_function", $v)) { - if(check_array_length($v['sql_function'], 1) > 0) { + if(!array_key_empty("call", $v)) { + if(check_array_length($v['call'], 1) > 0) { // add to s1a - $s1a[$k] = sprintf("%s(%s)", $v['sql_function'][0], implode(", ", array_slice($v['sql_function'], 1))); + $s1a[$k] = sprintf("%s(%s)", $v['call'][0], implode(", ", array_slice($v['call'], 1))); } }