Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Admin): usermail don´t show false if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed May 7, 2021
1 parent b29ac52 commit af27e34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tine20/Tinebase/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ public static function writeToTempFile($content, $extension = null)
*/
public static function convertDomainToPunycode($domain)
{
return self::convertDomain($domain, 'idn_to_ascii');
$domain = self::convertDomain($domain, 'idn_to_ascii');
return $domain ? $domain : "";
}

public static function convertDomain($domain, $converterFunction)
Expand Down

0 comments on commit af27e34

Please sign in to comment.