From: <pdo...@us...> - 2008-10-27 23:11:43
|
Revision: 13309 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13309&view=rev Author: pdontthink Date: 2008-10-27 23:11:38 +0000 (Mon, 27 Oct 2008) Log Message: ----------- Catch empty text domain Modified Paths: -------------- branches/SM-1_4-STABLE/squirrelmail/functions/i18n.php Modified: branches/SM-1_4-STABLE/squirrelmail/functions/i18n.php =================================================================== --- branches/SM-1_4-STABLE/squirrelmail/functions/i18n.php 2008-10-27 23:10:53 UTC (rev 13308) +++ branches/SM-1_4-STABLE/squirrelmail/functions/i18n.php 2008-10-27 23:11:38 UTC (rev 13309) @@ -52,6 +52,10 @@ static $domains_already_seen = array(); $return_value = textdomain(NULL); + // empty domain defaults to "squirrelmail" + // + if (empty($domain_name)) $domain_name = 'squirrelmail'; + // only need to call bindtextdomain() once unless // $use_gettext is turned on // This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |