Skip to content

Commit 33f326c

Browse files
authored
fix filter
1 parent a6a82f8 commit 33f326c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public static function create_filter($info, &$binds = [], $prepend = 'AND') {
310310
$filters[] = $value;
311311
} else {
312312
$bind_key = str_replace(".", "_", $field);
313-
$filters[] = $field." = :".$bind_key;
313+
$filters[] = '`'.$field."` = :".$bind_key;
314314
$binds[$bind_key] = $value;
315315
}
316316
}

0 commit comments

Comments
 (0)