Commit 8fa37649 authored by Patrick Müller's avatar Patrick Müller

Merge branch 'dev'

parents e2b79624 0414b0cd
......@@ -94,7 +94,9 @@ class SetUserGroups extends QUI\System\Console\Tool
$where[] = "(".implode(" OR ", $whereOR).")";
}
$sql .= " WHERE ".implode(" AND ", $where);
if (!empty($where)) {
$sql .= " WHERE ".implode(" AND ", $where);
}
$result = QUI::getDataBase()->fetchSQL($sql);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment