Update database.php

This commit is contained in:
Namhyeon Go 2020-01-19 14:50:14 +09:00 committed by GitHub
parent 98ddfa2401
commit dff6b47d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -713,7 +713,7 @@ if(!check_function_exists("get_bind_to_sql_update")) {
if(!check_function_exists("get_bind_to_sql_delete")) { if(!check_function_exists("get_bind_to_sql_delete")) {
function get_bind_to_sql_delete($tablename, $bind, $options=array()) { function get_bind_to_sql_delete($tablename, $bind, $options=array()) {
$sql = sprintf("delete from `%s` where %s", $tablename, get_db_binded_sql(get_bind_to_sql_where($bind, $options), $bind)); $sql = sprintf("delete from `%s` where %s", $tablename, get_bind_to_sql_where($bind, $options));
return $sql; return $sql;
} }
} }