Follow-up to #16902 Bug: Fatal error in tslib_content_text (was: No FE output)
authorsteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 23:16:54 +0000 (23:16 +0000)
committersteffenk <steffenk@709f56b5-9817-0410-a4d7-c38de5d9e867>
Tue, 22 Feb 2011 23:16:54 +0000 (23:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10571 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 8ddf5dd..0725e25 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,7 @@
 
 2011-02-22  Steffen Kamper  <steffen@typo3.org>
 
+       * Follow-up to #16902 Bug: Fatal error in tslib_content_text (was: No FE output)
        * Fixed bug #14224: Redirect URL for backend login is lost when entering wrong information (Thanks to Reinhard F├╝hricht)
        * Fixed bug #17708 wrong link in adminpanel: edit page properties (Thanks to Bjoern Pedersen)
        * Fixed bug #17715: Wrong variable name used in recycler (Thanks to Peter Beernink)
index bc72fd7..7dc959d 100644 (file)
@@ -42,7 +42,7 @@ class tslib_content_Image extends tslib_content_Abstract {
         * @return      string          Output
         */
        public function render($conf = array()) {
-               if (isset($conf['if.']) && $this->cObj->checkIf($conf['if.'])) {
+               if ($this->cObj->checkIf($conf['if.'])) {
                        $theValue = $this->cObj->cImage($conf['file'], $conf);
                        if (isset($conf['stdWrap.'])) {
                                $theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);