[TYPO3-core] Patch: tslib_pagegen / clone()

Michael Stucki michael at typo3.org
Thu Jan 19 15:45:36 CET 2006


Hi René,

+1 but again, your own name is screwed up because of wrong charset.

Michael

Am Donnerstag, 19. Januar 2006 15:40 schrieb René Fritz:
> This is a CVS patch request
>
> Type:
> bugfix
>
> Problem:
> In tslib_pagegen a *copy* of an object is needed. In PHP5 objects are
> passed by reference. Therefore a copy has to be made with clone().
> Otherwise it forces a bug.
>
> Solution:
> Unify cloning of objects for PHP4/PHP5.
> Created t3lib/compat.php which is included in config_default.php.
> In compat.php functions are placed that makes sense because of
> compatibility. In this case clone() for PHP4;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060119/cc98ed34/attachment.pgp 


More information about the TYPO3-team-core mailing list