[BUGFIX] Missing closing tag in ElementBrowser 97/24397/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sat, 5 Oct 2013 10:08:46 +0000 (12:08 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 5 Oct 2013 13:20:15 +0000 (15:20 +0200)
There is missing " />" at the end for $clickIcon, which refers to
the thumbnail in the element browser.

Resolves: #52546
Releases: 6.2, 6.1, 6.0
Change-Id: I2da27190db0ca627c2967750f828c6748b039356
Reviewed-on: https://review.typo3.org/24397
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php

index d925294..f5e2897 100644 (file)
@@ -1637,7 +1637,7 @@ class ElementBrowser {
                                        $imageUrl = $fileObject->process(\TYPO3\CMS\Core\Resource\ProcessedFile::CONTEXT_IMAGEPREVIEW, array('width' => 64, 'height' => 64))->getPublicUrl(TRUE);
                                        $imgInfo = $imgObj->getImageDimensions($fileObject->getForLocalProcessing(FALSE));
                                        $pDim = $imgInfo[0] . 'x' . $imgInfo[1] . ' pixels';
-                                       $clickIcon = '<img src="' . $imageUrl . '" hspace="5" vspace="5" border="1"';
+                                       $clickIcon = '<img src="' . $imageUrl . '" hspace="5" vspace="5" border="1" />';
                                } else {
                                        $clickIcon = '';
                                        $pDim = '';
@@ -2266,4 +2266,4 @@ class ElementBrowser {
                return $result;
        }
 
-}
+}
\ No newline at end of file