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.
Otwórz plik: admin/sources/base/ipsController.php
Znajdź:
$classname = $classOverloader['className'];
Zamień na:
$classToOverload = $classOverloader['className'];
Znajdź:
IPSDebug::setMemoryDebugFlag( "Controller getCommand executed" );
Dodaj poniżej:
$classname = $classToOverload ? $classToOverload : $classname;
Zapisz i wyślij.
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.
305_hooks_patch.zip
~~~~~~~~~~~~~~~~~~~~~~~~PL~~~~~~~~~~~~~~~~~~~~~~~~~~
W dużym skrócie jest to łatka wydana kilka dni temu. Dzięki niej wszystkie rozszerzenia przesłaniające te same klasy będą się wykonywać, nie tylko, jak do tej pory, pierwszy z nich. To dość istotna łatka. Kiedyś przez ten błąd rwałem włosy z głowy, ale to dawne czasy, kiedy dopiero zaczynałem tworzenie modyfikacji do serii 3.x.
Są dwie metody jej aplikacji:
postępowanie wg instrukcji dodanej w poprzednim poście,
wgranie pliku, do którego link zamieściłem wyżej.