Package: squirrelmail
Version: 1.4.8-1
Tags: patch

Modifications made in SquirrelMail 1.4.8-1 Debian package break
custom_charset plugin. Plugin adds $languages array entry that does not
have directory in locale/.
--- display.php.orig    2006-07-05 16:43:10.000000000 +0300
+++ display.php 2006-08-30 13:36:44.670266136 +0300
@@ -90,7 +90,7 @@
     foreach ($languages as $lang_key => $lang_attributes) {
         # Debian: cope with squirrelmail-locales not being installed: do not 
offer
         # non-existant languages for selection. This has been fixed in 1.5.x 
upstream.
-        if ( isset($lang_attributes['NAME']) && ($lang_key != 'en_US') &&
+        if ( isset($lang_attributes['NAME']) && ($lang_key != 'en_US') && 
($lang_key != 'custom') &&
             !file_exists ( SM_PATH . 'locale/'. $lang_key ) ) continue;
         if (isset($lang_attributes['NAME'])) {
             $language_values[$lang_key] = $lang_attributes['NAME'];

Reply via email to