Jump to content


* * * * *
Photo

[3.0.5] Hooks not overloading the same class


This fix is needed for those that install several hooks on their boards that overload the same class and because of a bug only 1 hook is executed instead of all.

Open the file "admin/sources/base/ipsController.php" and find:
$classname = $classOverloader['className'];
Replace With:
$classToOverload = $classOverloader['className'];

Some lines below find:
IPSDebug::setMemoryDebugFlag( "Controller getCommand executed" );
Add Below:
$classname = $classToOverload ? $classToOverload : $classname;


If you are not comfortable in doing those edits manually download this file and replace it on your server; note that this file is for 3.0.5 only, if you have another version use the manual patch above.
Attached File  305_hooks_patch.zip   3.41KB   231 downloads



0 Comments


Developer Docs · Error Codes