Commit 4f4e7e0d authored by Patrick Müller's avatar Patrick Müller

fix: missing variable definition

parent de63ed40
......@@ -73,7 +73,8 @@ class SetUserGroups extends QUI\System\Console\Tool
}
// Get all users
$sql = "SELECT `id` FROM ".QUI::getUsers()::table();
$sql = "SELECT `id` FROM ".QUI::getUsers()::table();
$where = [];
if (!empty($languages)) {
$where[] = "`lang` IN ('".implode("','", $languages)."')";
......
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