alecpl
2008-06-07 7e78b2ec373f4596f986bb75a0e6c33bd67a82b4
-segfault (#1485109)


1 files modified
4 ■■■■ changed files
program/include/rcmail.php 4 ●●●● patch | view | raw | blame | history
program/include/rcmail.php
@@ -188,8 +188,8 @@
    }
    // 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];