Commit 10dbeaf7 authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '6034-applying-a-template-to-a-user-removes-the-mail-tab' into '1.4-dev'

Resolve "Applying a template to a user removes the mail tab"

See merge request fusiondirectory/fd!687
parents 0167f527 ba45d92a
......@@ -117,8 +117,11 @@ class templateHandling
return $errors;
}
/*! \brief Parse a mask (without surrounding %) using $attrs attributes, apply modifiers and returns an array containing possible results */
public static function parseMask (string $mask, array $attrs): array
/*! \brief Parse a mask (without surrounding %) using $attrs attributes and apply modifiers
*
* \return iterable an array or iterable object of possible results
*/
public static function parseMask (string $mask, array $attrs)
{
if ($mask == '|') {
return ['%'];
......
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