Sfoglia il codice sorgente

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

Mark Crane 10 anni fa
parent
commit
48df8ca096
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)."') ";
 	}