projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3905ae8
)
Only set charset if it is not empty
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 2 Dec 2010 20:37:05 +0000
(13:37 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 2 Dec 2010 20:37:05 +0000
(13:37 -0700)
imp/compose.php
patch
|
blob
|
history
diff --git
a/imp/compose.php
b/imp/compose.php
index
530e1cc
..
752ef20
100644
(file)
--- 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);