Skip to content

Commit c1c38e3

Browse files
committed
Correct Armenian language code
1 parent a12c95e commit c1c38e3

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎changelog.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# PHPMailer Change Log
22

3+
* Correct Armenian ISO language code from `am` to `hy`, add mapping for fallback
4+
* Use correct timeout property in debug output
5+
36
## Version 6.1.5 (March 14th, 2020
47
* Reject invalid custom headers that are empty or contain breaks
58
* Various fixes for DKIM issues, especially when using `mail()` transport

‎src/PHPMailer.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,7 @@ public function setLanguage($langcode = 'en', $lang_path = '')
20862086
'se' => 'sv',
20872087
'rs' => 'sr',
20882088
'tg' => 'tl',
2089+
'am' => 'hy',
20892090
];
20902091

20912092
if (isset($renamed_langcodes[$langcode])) {

0 commit comments

Comments
 (0)