summaryrefslogtreecommitdiff
path: root/program/include/rcube_shared.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r--program/include/rcube_shared.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index 556cffd50..eed9662f0 100644
--- a/program/include/rcube_shared.inc
+++ b/program/include/rcube_shared.inc
@@ -92,7 +92,8 @@ function rcube_browser()
function rcube_label($attrib)
{
global $sess_user_lang, $OUTPUT;
- static $sa_text_data, $s_language, $utf8_decode;
+ static $sa_text_data = false;
+ static $s_language, $utf8_decode;
// extract attributes
if (is_string($attrib))
@@ -106,7 +107,7 @@ function rcube_label($attrib)
// load localized texts
- if (!$sa_text_data || $s_language != $sess_user_lang)
+ if ($sa_text_data===false || $s_language != $sess_user_lang)
{
$sa_text_data = array();