diff --git a/admin/editgroup.php b/admin/editgroup.php index 600a8087a6..1a2b893d9b 100755 --- a/admin/editgroup.php +++ b/admin/editgroup.php @@ -98,7 +98,7 @@ $t->set_var("group_name_value",$phpgw->db->f("group_name")); - $phpgw->db->query("select con from accounts where groups like '%,$group_id,%'"); + $phpgw->db->query("select con from accounts where groups like '%,$group_id:%'"); while ($phpgw->db->next_record()) { $selected_users[$phpgw->db->f("con")] = " selected";