[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)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sun, 31 Jul 2011 18:43:23 +0000 (20:43 +0200)
commit05444fcb368e8096e3c1406d155b9d6557e89052
treee95478158d84d5a3a6294c90e16cff08fd5c4ba7
parent3dd4d3b21899f1069684f21e1f2924bba38403bc
[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: I1ee8a8ecc4245af49e4f698734b66d95a835d57d
Resolves: #26091
Reviewed-on: http://review.typo3.org/3948
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
typo3/sysext/cms/tslib/class.tslib_gifbuilder.php