Update database.php

This commit is contained in:
Namhyeon Go 2018-03-21 13:46:46 +09:00 committed by GitHub
parent 5555711b6c
commit f21986fa0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ if(!function_exists("get_bind_to_sql_update_set")) {
$set_items = "";
foreach($bind as $k=>$v) {
if(!in_array($k, $excludes)) {
$set_items[] = "{$k}=:{$k}";
$set_items[] = "{$k} = :{$k}";
}
}
$sql_update_set = implode(", ", $set_items);