[BUGFIX] Call to stdWrap() of non-existant $this->cObj in GifBuilder
authorSteffen Gebert <steffen.gebert@typo3.org>
Mon, 18 Apr 2011 20:19:06 +0000 (22:19 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Fri, 17 Jun 2011 07:06:29 +0000 (09:06 +0200)
commit93f8afc6770edfc61e4eb1177ced0f0f6d803c8b
tree7284321b540201aba456e378e7ce7dcc00d42baf
parenta685a2756bf5744eeae03806b53cc376bbc5f196
[BUGFIX] Call to stdWrap() of non-existant $this->cObj in GifBuilder

A PHP Fatal Error occurs in tslib_gifBuilder::checkTextObj(), because
$this->cObj is not set, however this->cObj->stdWrap() is called.

A few lines later, a local variable $cObj is initialized. This
initialization should be moved before the stdWrap() call.

Change-Id: Ia6fb6a57ba5e4c4bf83e54d720bd1353143ab66d
Resolves: #26091
Reviewed-on: http://review.typo3.org/1651
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php