Explorar o código

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

Mark Crane %!s(int64=10) %!d(string=hai) anos
pai
achega
48df8ca096
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/users/usersupdate.php

+ 1 - 0
core/users/usersupdate.php

@@ -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)."') ";
 	}