Update database.php

This commit is contained in:
Namhyeon Go 2019-12-30 17:16:54 +09:00 committed by GitHub
parent bb6fe3418d
commit cc8cf1b992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -753,8 +753,8 @@ if(!check_function_exists("exec_db_table_create")) {
// check if exists table
$sql = sprintf("describe %s", $_tablename);
if(!exec_db_query($sql)) {
return false;
if(exec_db_query($sql)) {
return $_tablename;
}
// create table