Follow-up to bug #10231: Fixed wrong pattern conversions from split() to preg_split()
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_htmlmail.php
index 73799f9..0830f64 100644 (file)
@@ -989,7 +989,7 @@ class t3lib_htmlmail {
                }
 
                        // fixes javascript rollovers
-               $codepieces = preg_split('/' . quotemeta(".src") . '/', $html_code);
+               $codepieces = explode('.src', $html_code);
                $pieces = count($codepieces);
                $expr = '/^[^'.quotemeta('"').quotemeta("'").']*/';
                for($i = 1; $i < $pieces; $i++) {