Update database.php

This commit is contained in:
Namhyeon Go 2020-04-08 13:50:31 +09:00 committed by GitHub
parent 83a79e0693
commit 3ec8ab5db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -694,7 +694,7 @@ if(!is_fn("get_bind_to_sql_select")) {
// setcreatedtime: range of table creation time
$created_start_dt = "";
$created_end_dt = "";
if(!array_key_is_empty("setcreatedtime", $options)) {
if(!array_key_empty("setcreatedtime", $options)) {
if(is_string($options['setcreatedtime'])) {
$created_end_dt = $options['setcreatedtime'];
} elseif(is_array($options['setcreatedtime'])) {