Update database.php

This commit is contained in:
Namhyeon Go 2019-10-02 20:49:22 +09:00 committed by GitHub
parent e60f487117
commit b5767cfad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,7 +363,7 @@ if(!check_function_exists("get_bind_to_sql_where")) {
} elseif(check_array_length($opts, 2) == 0 && is_array($opts[1])) { } elseif(check_array_length($opts, 2) == 0 && is_array($opts[1])) {
if(is_array($opts[1][0])) { if(is_array($opts[1][0])) {
// recursive // recursive
$s3 .= sprintf(" %s (%s)", $opts[0], get_bind_to_sql_where(false, array( $s3 .= sprintf(" %s (1 %s)", $opts[0], get_bind_to_sql_where(false, array(
"setwheres" => $opts[1][0] "setwheres" => $opts[1][0]
)); ));
} elseif($opts[1][0] == "like") { } elseif($opts[1][0] == "like") {