From d24742660bd37960d3869572f691f89a828ffe0c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 30 Jul 2014 13:04:04 +0200 Subject: [PATCH] Quote language module in config --- root/etc/e-smith/templates/etc/phplist/config.php/50Options | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/phplist/config.php/50Options b/root/etc/e-smith/templates/etc/phplist/config.php/50Options index eceb853..d75058a 100644 --- a/root/etc/e-smith/templates/etc/phplist/config.php/50Options +++ b/root/etc/e-smith/templates/etc/phplist/config.php/50Options @@ -4,6 +4,6 @@ define("ALLOW_ATTACHMENTS",1); my $lang = $phplist{'Language'} || ''; $lang .= ($lang =~ m/\.inc$/) ? '' : '.inc'; if ($lang ne '' && -e '/usr/share/phplist/www/texts/' . $lang){ - $OUT .= '$language_module = ' . $lang . ';'; + $OUT .= '$language_module = \'' . $lang . '\';'; } }