From 86be63f7dfcd3768cf20ad118550de9a38c4fae3 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 8 Apr 2019 00:02:09 +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 eafb84b..99717b3 100644 --- a/system/database.php +++ b/system/database.php @@ -351,7 +351,7 @@ if(!check_function_exists("get_bind_to_sql_select")) { $sql = "select %s from %s where 1 %s %s %s"; // s1: select fields - $s1 = "*"; + $s1 = ""; if(!array_key_empty("fieldnames", $options)) { $s1 .= (count($options['fieldnames']) > 0) ? implode(", ", $options['fieldnames']) : "*"; } elseif(array_key_equals("getcnt", $options, true)) {