Bug #44440 ยป 44440.patch

Marc Bastian Heinrichs, 2013-02-19 19:50

View differences:

typo3/sysext/core/Classes/Html/RteHtmlParser.php
771 771
						} elseif ($fileChar) {
772 772
							// It is an internal file or folder
773 773
							// Try to transform the href into a FAL reference
774
							$fileOrFolderObject = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->retrieveFileOrFolderObject($link_param);
774
							try {
775
								$fileOrFolderObject = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->retrieveFileOrFolderObject($link_param);
776
							} catch(\TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException $e) {
777
								// no file - nothing to do
778
							}
775 779
							if ($fileOrFolderObject instanceof \TYPO3\CMS\Core\Resource\Folder) {
776 780
								// It's a folder
777 781
								$folderIdentifier = $fileOrFolderObject->getIdentifier();
    (1-1/1)