Added feature #16282: Optimize stdWrap usage for TypoScript content element IMAGE...
authorSusanne Moog <typo3@susannemoog.de>
Wed, 17 Nov 2010 09:38:09 +0000 (09:38 +0000)
committerSusanne Moog <typo3@susannemoog.de>
Wed, 17 Nov 2010 09:38:09 +0000 (09:38 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9433 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/content/class.tslib_content_image.php

index 9d3e552..a2dee7c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@
        * Added feature #16285: Optimize stdWrap usage for TypoScript content element RECORDS (Thanks to Jo Hasenau)
        * Added feature #15916: Display a link to list module on sysfolders when in page module (Thanks to Georg Ringer)
        * Fixed bug #16107: listNum = 0 not working anymore due to stdWrap changes (Thanks to Jo Hasenau)
+       * Added feature #16282: Optimize stdWrap usage for TypoScript content element IMAGE (Thanks to Jo Hasenau)
 
 2010-11-17  Oliver Hader  <oliver@typo3.org>
 
index 2387d03..fdd5f32 100644 (file)
@@ -44,7 +44,7 @@ class tslib_content_Image extends tslib_content_Abstract {
        public function render($conf = array()) {
                if ($this->cObj->checkIf($conf['if.'])) {
                        $theValue = $this->cObj->cImage($conf['file'], $conf);
-                       if ($conf['stdWrap.']) {
+                       if (isset($conf['stdWrap.'])) {
                                $theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);
                        }
                        return $theValue;
@@ -58,4 +58,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/conte
        include_once ($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['tslib/content/class.tslib_content_image.php']);
 }
 
-?>
\ No newline at end of file
+?>