Update database.php

This commit is contained in:
Namhyeon Go 2019-05-24 11:32:14 +09:00 committed by GitHub
parent 8d844f8496
commit 5e381377cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,7 +416,7 @@ if(!check_function_exists("get_bind_to_sql_select")) {
}
} elseif($opts[1][0] == "in") {
if(check_array_length($opts[1][2], 0) > 0) {
$s3 .= sprintf(" %s (%s in ('%s'))", $opts[0], $s1a[$opts[1][1]], implode("', '", $opts[1][2]));
$s3 .= sprintf(" %s (%s in ('%s'))", $opts[0], $opts[1][1], implode("', '", $opts[1][2]));
}
} else {
$ssts = array(