[TYPO3-core] Patch: tslib_pagegen / clone()
René Fritz
rene at typo3.org
Thu Jan 19 15:40:00 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;
--
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compat.php
Type: application/x-php
Size: 295 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060119/c34c3787/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_default.diff
Type: text/x-diff
Size: 486 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060119/c34c3787/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.tslib_pagegen.diff
Type: text/x-diff
Size: 1082 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060119/c34c3787/attachment-0002.bin
More information about the TYPO3-team-core
mailing list