mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1728: Allow Null User Object attributes to be saved.
This commit is contained in:
@@ -145,8 +145,9 @@ public abstract class DirectoryObjectTranslator<InternalType extends Identifiabl
|
||||
String attributeValue = attributes.get(attributeName);
|
||||
|
||||
// Include attribute value within filtered map only if
|
||||
// (1) defined and (2) present within provided map
|
||||
if (attributeValue != null)
|
||||
// defined or present within provided map
|
||||
if (attributeValue != null ||
|
||||
attributes.containsKey(attributeName))
|
||||
filtered.put(attributeName, attributeValue);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user