Fix syntax error

This commit is contained in:
Milen Karaganski 2022-12-07 17:47:01 +02:00
parent 6b6cfb1339
commit f0f66327b9

View File

@ -792,7 +792,7 @@ class Project extends CommonObject
} }
} }
if (count($sqlwhere) > 0) { if (count($sqlwhere) > 0) {
$sql .= ' AND ('.implode(' '.$filtermode.' ', $sqlwhere).')'; $sql .= ' AND ('.implode("'.$filtermode.'", $sqlwhere).')';
} }
if (!empty($sortfield)) { if (!empty($sortfield)) {