From cee6509dfa4c24b78e6e2a1c533735a5cf70db9c Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 28 Jan 2020 13:49:37 +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 7d3b258..88824ce 100644 --- a/system/database.php +++ b/system/database.php @@ -1054,7 +1054,7 @@ if(!check_function_exists("exec_db_temp_end")) { // clear temporery tables if(!check_function_exists("exec_db_temp_clear")) { function exec_db_temp_clear() { - $temptables = get_shared_var("temptables"); + $temptables = get_array(get_shared_var("temptables")); foreach($temptables as $tablename) { exec_db_temp_end($tablename); }