Update database.php
This commit is contained in:
parent
7a1c66eba5
commit
a932e44eab
|
@ -617,7 +617,7 @@ if(!check_function_exists("get_bind_to_sql_update")) {
|
|||
|
||||
if(!check_function_exists("get_bind_to_sql_delete")) {
|
||||
function get_bind_to_sql_delete($tablename, $bind, $options=array()) {
|
||||
$sql = "delete from %s where" . get_db_binded_sql(get_bind_to_sql_where($bind, $options), $bind);
|
||||
$sql = sprintf("delete from %s where %s", $tablename, get_db_binded_sql(get_bind_to_sql_where($bind, $options), $bind));
|
||||
return $sql;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user