Minor, fix an issue where we may fail to select a translation for mail.
This commit is contained in:
@@ -138,6 +138,11 @@ final class PhabricatorMetaMTAMail extends PhabricatorMetaMTADAO {
|
||||
}
|
||||
$return = $translation;
|
||||
}
|
||||
|
||||
if (!$return) {
|
||||
$return = $default_translation;
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user