summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-10 14:28:45 +0000
committeralecpl <alec@alec.pl>2008-05-10 14:28:45 +0000
commit9d9f8dc83416cb493cfab94e1008af847abe6a41 (patch)
tree28cc39f13205fb49619552ea6e7e40a4d8846473 /program/include/rcmail.php
parent885ebb8da2c46ba1c5bfd42bf69159f40f266c68 (diff)
- fix: fallback labels/messages ignored from en_US localisation files after r1360 (#1485057)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index e57b5dd6a..ccd46d6cb 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -588,9 +588,9 @@ class rcmail
@include(INSTALL_PATH . 'program/localization/en_US/messages.inc');
if (is_array($labels))
- $sa_text_data = $labels;
+ $this->texts = $labels;
if (is_array($messages))
- $sa_text_data = array_merge($sa_text_data, $messages);
+ $this->texts = array_merge($this->texts, $messages);
// include user language files
if ($lang != 'en' && is_dir(INSTALL_PATH . 'program/localization/' . $lang)) {