Skip to content

Commit adad679

Browse files
committed
Update Model.php
1 parent 5c02047 commit adad679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Model.php

+1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ public static function create_filter($info, &$binds = [], $prepend = 'AND') {
282282
$filters = [];
283283

284284
if (!$info) return '';
285+
if (is_string($info)) $info = [$info];
285286

286287
foreach ($info as $field => $value) {
287288
if (is_int($field)) {

0 commit comments

Comments
 (0)