Follow-up to #9994: an unclosed bracket caused a parse error in t3lib_htmlmail
authorFrancois Suter <francois.suter@typo3.org>
Sat, 16 May 2009 14:15:01 +0000 (14:15 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Sat, 16 May 2009 14:15:01 +0000 (14:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5428 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_htmlmail.php

index 9b638a7..345ec93 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-16  Francois Suter  <francois@typo3.org>
+
+       * Follow-up to #9994: an unclosed bracket caused a parse error in t3lib_htmlmail
+
 2009-05-16  Karsten Dambekalns  <karsten@typo3.org>
 
        * Fixed bug #9994: ereg* is deprecated in PHP 5.3 alpha3
index 179ab43..16c0edc 100644 (file)
@@ -991,7 +991,7 @@ class t3lib_htmlmail {
                        // fixes javascript rollovers
                $codepieces = preg_split('/' . quotemeta(".src") . '/', $html_code);
                $pieces = count($codepieces);
-               $expr = '/^[^'.quotemeta('"'.quotemeta("'").']*/';
+               $expr = '/^[^'.quotemeta('"').quotemeta("'").']*/';
                for($i = 1; $i < $pieces; $i++) {
                        $temp = $codepieces[$i];
                        $temp = trim(str_replace('=','',trim($temp)));