fixed bug #9725: double enquote in t3lib_htmlmail of returnPath
authorSteffen Kamper <info@sk-typo3.de>
Tue, 25 Nov 2008 09:16:07 +0000 (09:16 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 25 Nov 2008 09:16:07 +0000 (09:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4487 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_htmlmail.php

index c6c90f8..b1b6eac 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 2008-11-25  Steffen Kamper  <info@sk-typo3.de>
 
-       * Fixed bug 8561 Checkboxes and labels are aligned badly if in one line
+       * Fixed bug #9725: double enquote in t3lib_htmlmail of returnPath
+
+2008-11-25  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #8561 Checkboxes and labels are aligned badly if in one line
 
 2008-11-24  Dmitry Dulepov  <dmitry@typo3.org>
 
index 912499d..7860a62 100755 (executable)
@@ -713,7 +713,7 @@ class t3lib_htmlmail {
 
                        // On windows the -f flag is not used (specific for Sendmail and Postfix),
                        // but instead the php.ini parameter sendmail_from is used.
-               $returnPath = (strlen($this->returnPath) > 0) ? '-f "' . escapeshellarg($this->returnPath) . '"' : '';
+               $returnPath = (strlen($this->returnPath) > 0) ? '-f ' . escapeshellarg($this->returnPath) : '';
                if($this->returnPath) {
                        @ini_set('sendmail_from', t3lib_div::normalizeMailAddress($this->returnPath));
                }