Update database.php

This commit is contained in:
Namhyeon Go 2020-01-10 19:36:22 +09:00 committed by GitHub
parent 2c51652c8b
commit ad5b477cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -337,7 +337,7 @@ if(!check_function_exists("get_bind_to_sql_insert")) {
} elseif($num_duplicates > 0) {
$sql = get_bind_to_sql_update($tablename, $bind, array(
"setkeys" => array_keys($_bind_K)
), $options);
));
} else {
$sql = "insert into `%s` (%s) values (:%s)";
$bind_keys = array_keys($bind);