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

René Fritz rene at typo3.org
Thu Jan 19 19:46:21 CET 2006


> 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;

committed

René

-- 
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/



More information about the TYPO3-team-core mailing list