[TYPO3-core] RFC: cObj->getGlobal bug fix
Michael Stucki
michael at typo3.org
Thu Jan 19 21:31:00 CET 2006
This bug was open for a long time although it had been approved by Kasper
already. With the permission of Bernhard, I have now committed this.
However, I didn't use Bernhards initial patch but my modified version which
is already in class.t3lib_matchcondition and known to be working.
Maybe someone can join them at some later time.
Documentation has been changed, too.
Regards, michael
Bernhard Kraft wrote:
> Hello,
>
> This is a CVS patch request
>
> Type: Bugfix (PHP5)/Feature request
>
> Description:
> When a TS like:
> -----
> lib.userlastname > lib.userlastname.data > lib.userlastname.insertData > -----
> gets used to display the logged in User name (of course contained in a
> COA_INT because of caching) this didn't work as expected in PHP4 (Just
> nothing got displayed). With PHP5 you can even produce error message like
> the following one: ---------
> Fatal error: Cannot use object of type tslib_fe as array in
> /home/kraftb/www/TYPO3core.getGlobal/typo3/sysext/cms/tslib/class.tslib_content.php
> on line 4830 ---------
>
> Solution:
> Check wheter the actually processed variable is an object or an array.
>
> Branches: HEAD
>
>
> Files:
> bug_getGlobal.patch
>
>
> greets,
> Bernhard
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getGlobal_v2.diff
Type: text/x-diff
Size: 3388 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060119/f939f7e1/attachment.bin
More information about the TYPO3-team-core
mailing list