[TYPO3-core] FYI: Fixed bug #11451: Wrong pattern modifier in t3lib_htmlmail

Oliver Hader oliver at typo3.org
Wed Oct 7 11:51:42 CEST 2009


The following changes were committed to SVN Trunk (rev. 6108)

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11451

Branch: Trunk

Problem:
The split_fileref() method in t3lib_htmlmail shows the following warning:
Warning: preg_match() [function.preg-match]: Unknown modifier ')' in
/.../t3lib/class.t3lib_htmlmail.php on line 1389

Solution:
Since the pattern was "converted" from ereg to preg, escaping the
delimiter was forgotten. Using '\/' instead of '/' inside the pattern
solves this issue.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list