Issue Bug Closed

#17550Object copied in t3lib_div::makeInstance

Popy no-lastname-given 08/22/07, 11:22 updated 05/14/08, 10:01

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.