Update database.php

This commit is contained in:
Namhyeon Go 2020-01-28 13:49:37 +09:00 committed by GitHub
parent 339d10e94c
commit cee6509dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}