Index: typo3/sysext/cms/tslib/content/class.tslib_content_cleargif.php
===================================================================
--- typo3/sysext/cms/tslib/content/class.tslib_content_cleargif.php (revision 9214)
+++ typo3/sysext/cms/tslib/content/class.tslib_content_cleargif.php (revision )
@@ -42,19 +42,19 @@
* @return string Output
*/
public function render($conf = array()) {
- $w = $this->cObj->stdWrap($conf['width'], $conf['width.']);
- $h = $this->cObj->stdWrap($conf['height'], $conf['height.']);
- $w = $w ? $w : 1;
- $h = $h ? $h : 1;
- $wrap = $conf['wrap'] ? $conf['wrap'] : '|
';
- $theValue = $this->cObj->wrap(
- 'cObj->stdWrap($conf['width'], $conf['width.']) : $conf['width'];
+ $height = isset($conf['height.']) ? $this->cObj->stdWrap($conf['height'], $conf['height.']) : $conf['height'];
+ $width = $width ? $width : 1;
+ $height = $height ? $height : 1;
+ $wrap = isset($conf['wrap']) ? (isset($conf['wrap.']) ? $this->cObj->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap']) : '|
';
+ $theValue = $this->cObj->wrap('cObj->getBorderAttr(' border="0"') . ' alt="" title="" />',
- $wrap
- );
-
- return $this->cObj->stdWrap($theValue, $conf['stdWrap.']);
+ $wrap);
+ if (isset($conf['stdWrap.'])) {
+ $theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);
- }
+ }
+ return $theValue;
+ }
}