mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Minor, fix an issue where we may fail to select a translation for mail.
This commit is contained in:
parent
fc45398ba9
commit
16c20c92fe
1 changed files with 5 additions and 0 deletions
|
@ -138,6 +138,11 @@ final class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
|
||||||
}
|
}
|
||||||
$return = $translation;
|
$return = $translation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$return) {
|
||||||
|
$return = $default_translation;
|
||||||
|
}
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue