summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-07 19:33:07 +0000
committeralecpl <alec@alec.pl>2008-06-07 19:33:07 +0000
commit7e78b2ec373f4596f986bb75a0e6c33bd67a82b4 (patch)
tree83fff641ca016167595b096df283cff3ec2b924f /program
parent5f95315182874d0de2b9d3a1cbda5d0a3ea57213 (diff)
-segfault (#1485109)
Diffstat (limited to 'program')
-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 6352f80f8..0b5bcdb95 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -188,8 +188,8 @@ class rcmail
}
// try the first two chars
else if (!isset($rcube_languages[$lang])) {
- $short = $this->language_prop(substr($lang, 0, 2));
-
+ $short = substr($lang, 0, 2);
+
// check if we have an alias for the short language code
if (!isset($rcube_languages[$short]) && isset($rcube_language_aliases[$short])) {
$lang = $rcube_language_aliases[$short];