From 9d9f8dc83416cb493cfab94e1008af847abe6a41 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 10 May 2008 10:28:45 -0400
Subject: [PATCH] - fix: fallback labels/messages ignored from en_US localisation files after r1360 (#1485057)

---
 program/include/rcmail.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index e57b5dd..ccd46d6 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -588,9 +588,9 @@
       @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)) {

--
Gitblit v1.9.1