Skip to content

Commit 5c02047

Browse files
committed
Update DB.php
1 parent b86077d commit 5c02047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function update($sql_or_table = '', $info = [], $where = '', $bind = '')
161161
if ($f > 0) {
162162
$sql .= ', ';
163163
}
164-
$sql .= $fields[$f].' = :update_'.$fields[$f];
164+
$sql .= '`'.$fields[$f].'` = :update_'.$fields[$f];
165165
}
166166

167167
if ($where) {

0 commit comments

Comments
 (0)