Fixed bug #11451: Wrong pattern modifier in t3lib_htmlmail
authorOliver Hader <oliver.hader@typo3.org>
Wed, 7 Oct 2009 09:51:30 +0000 (09:51 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 7 Oct 2009 09:51:30 +0000 (09:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6108 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_htmlmail.php

index 64756ec..b0534bd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-07  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #11451: Wrong pattern modifier in t3lib_htmlmail
+
 2009-10-05  Steffen Kamper  <info@sk-typo3.de>
 
        * Cleanup: Whitespace cleanup in extension manager
index 0830f64..366ebaf 100644 (file)
@@ -1386,7 +1386,7 @@ class t3lib_htmlmail {
         */
        public function split_fileref($fileref) {
                $info = array();
-               if (preg_match('/(.*/)(.*)$/', $fileref, $reg)) {
+               if (preg_match('/(.*\/)(.*)$/', $fileref, $reg)) {
                        $info['path'] = $reg[1];
                        $info['file'] = $reg[2];
                } else  {