[BUGFIX] Typo in gifbuilder
authorSimon Schaufelberger <simonschaufi@googlemail.com>
Thu, 6 Oct 2011 10:13:31 +0000 (12:13 +0200)
committerGeorg Ringer <mail@ringerge.org>
Thu, 6 Oct 2011 12:55:57 +0000 (14:55 +0200)
stdWrap features GIFBUILDER transparentBackground and reduceColors
are broken

Change-Id: Icb74191aa6e53e8ca0737ead2638c3bda5d6a7fd
Resolves: #29445
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/5590
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php

index f650952..7c88aef 100644 (file)
@@ -161,10 +161,10 @@ class tslib_gifBuilder extends t3lib_stdGraphic {
                        }
 
                        if(isset($this->setup['transparentBackground.'])) {
-                               $this->setup['transparentBackground'] = $this->cOjb->stdWrap($this->setup['transparentBackground'], $this->setup['transparentBackground.']);
+                               $this->setup['transparentBackground'] = $this->cObj->stdWrap($this->setup['transparentBackground'], $this->setup['transparentBackground.']);
                        }
                        if(isset($this->setup['reduceColors.'])) {
-                               $this->setup['reduceColors'] = $this->cOjb->stdWrap($this->setup['reduceColors'], $this->setup['reduceColors.']);
+                               $this->setup['reduceColors'] = $this->cObj->stdWrap($this->setup['reduceColors'], $this->setup['reduceColors.']);
                        }
 
                                // Set default dimensions
@@ -861,4 +861,4 @@ if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLA
        include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['tslib/class.tslib_gifbuilder.php']);
 }
 
-?>
\ No newline at end of file
+?>