Commit eae422db authored by Côme Chilliet's avatar Côme Chilliet

Merge branch...

Merge branch '6085-exception-when-an-attribute-used-in-a-template-mask-is-left-empty' into '1.4-dev'

Resolve "Exception when an attribute used in a template mask is left empty"

See merge request fusiondirectory/fd!759
parents 3ae050ad f9ca9d3b
......@@ -138,6 +138,10 @@ class templateHandling
$result = $attrs[$mask];
if (is_array($result)) {
if (empty($result)) {
/* No value and empty value is the same in LDAP so we have to treat them the same */
$result = [''];
} else {
$result = [$result];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment