Update database.php
This commit is contained in:
parent
bb6fe3418d
commit
cc8cf1b992
|
@ -753,8 +753,8 @@ if(!check_function_exists("exec_db_table_create")) {
|
||||||
|
|
||||||
// check if exists table
|
// check if exists table
|
||||||
$sql = sprintf("describe %s", $_tablename);
|
$sql = sprintf("describe %s", $_tablename);
|
||||||
if(!exec_db_query($sql)) {
|
if(exec_db_query($sql)) {
|
||||||
return false;
|
return $_tablename;
|
||||||
}
|
}
|
||||||
|
|
||||||
// create table
|
// create table
|
||||||
|
|
Loading…
Reference in New Issue
Block a user