From: Michael M Slusarz Date: Thu, 2 Dec 2010 20:37:05 +0000 (-0700) Subject: Only set charset if it is not empty X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7cba990d648e6b78b130c6f7bfffd464e608f447;p=horde.git Only set charset if it is not empty --- diff --git a/imp/compose.php b/imp/compose.php index 530e1cceb..752ef20d2 100644 --- a/imp/compose.php +++ b/imp/compose.php @@ -132,7 +132,9 @@ $stationery = $injector->getInstance('IMP_Compose_Stationery'); $charset = $prefs->isLocked('sending_charset') ? $prefs->getValue('sending_charset') : $vars->charset; -$imp_compose->charset = $charset; +if ($charset) { + $imp_compose->charset = $charset; +} /* Is this a popup window? */ $isPopup = ($prefs->getValue('compose_popup') || $vars->popup);