From 156aa6ed6b4aabaf72e6ad37b690cda9c588526b Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 9 Jan 2020 20:37:35 +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 c003082..1fbecd2 100644 --- a/system/database.php +++ b/system/database.php @@ -523,7 +523,7 @@ if(!check_function_exists("get_db_tablenames")) { $sql = sprintf("select table_name from `%s.tables` order by datetime desc", $tablename); $rows = exec_db_fetch_all($sql); foreach($rows as $row) { - $tablenames[] = $row['table_name'] + $tablenames[] = $row['table_name']; } } @@ -690,9 +690,9 @@ if(!check_function_exists("get_bind_to_sql_update")) { $setkeys = get_array(get_value_in_array("setkeys", $options, false)); foreach($bind as $k=>$v) { if(in_array($k, $setkeys)) { - $_bind_K[$k] => $v; + $_bind_K[$k] = $v; } else { - $_bind_V[$k] => $v; + $_bind_V[$k] = $v; } }