Fixed bug #16902: Fatal error in tslib_content_text (Thanks to Jo Hasenau)
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / content / class.tslib_content_image.php
index 7dc959d..bc72fd7 100644 (file)
@@ -42,7 +42,7 @@ class tslib_content_Image extends tslib_content_Abstract {
         * @return      string          Output
         */
        public function render($conf = array()) {
-               if ($this->cObj->checkIf($conf['if.'])) {
+               if (isset($conf['if.']) && $this->cObj->checkIf($conf['if.'])) {
                        $theValue = $this->cObj->cImage($conf['file'], $conf);
                        if (isset($conf['stdWrap.'])) {
                                $theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);