Project

General

Profile

Actions

Bug #17550

closed

Object copied in t3lib_div::makeInstance

Added by Popy no-lastname-given over 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-08-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_div::makeInstance call itslef recursively to handle ux_* classes, but the recursive call is not really well done, because it copy the instanciated object (instead of giving a reference)

Of course the problem does not occurs on PHP5, but I think it can be a good thing to fix it by making makeInstance more "sexy" (by using the makeInstanceClassname).

Because of this, the tslib_patcher extension can not work under php4, because an object reference is corrupted by the object copy.

(issue imported from #M6193)


Files

t3lib_div.diff (1.99 KB) t3lib_div.diff Administrator Admin, 2007-08-22 11:22
Actions

Also available in: Atom PDF