From: Markus Klein Date: Wed, 18 Jun 2014 15:07:19 +0000 (+0200) Subject: [BUGFIX] Fix RTE file links migration X-Git-Tag: 6.2.4~124 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/08ab8684ce8cd38f2369a5efd697d0dce66efec3 [BUGFIX] Fix RTE file links migration Links in RTE might be stored as tag $content = $record[$reference['field']]; - $regularExpression = '$<(link ' . str_replace(' ', '%20', $reference['ref_string']) . ').*>$'; + $regularExpression = '$<((link|LINK) ' . str_replace(' ', '%20', $reference['ref_string']) . ').*>$'; $matches = array(); $result = preg_match($regularExpression, $content, $matches); if ($result) {