Fix the group list for accounts -> user -> edit.

This commit is contained in:
Mark Crane
2015-01-08 09:54:24 +00:00
parent ac957dc400
commit da38cdac5a

View File

@@ -495,6 +495,7 @@ else {
$sql = "SELECT * FROM v_groups ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "or domain_uuid is null ";
if (sizeof($assigned_groups) > 0) {
$sql .= "and group_uuid not in ('".implode("','",$assigned_groups)."') ";
}