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;
|
$return = $translation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$return) {
|
||||||
|
$return = $default_translation;
|
||||||
|
}
|
||||||
|
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user