Skip to content

Commit

Permalink
BC
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbeaty committed Feb 25, 2025
1 parent b96ab23 commit ee21958
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/code/core/Mage/Core/Model/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -1429,13 +1429,13 @@ public function dispatchEvent($eventName, $args)

foreach ($events[$eventName]['observers'] as $obsName => $obs) {
$observer = new Varien_Event_Observer([
...$obs['args'],
...$args,
'event' => new Varien_Event([
...$obs['args'],
...$args,
'name' => $eventName,
])
]),
...$obs['args'],
...$args,
]);
Varien_Profiler::start('OBSERVER: ' . $obsName);
switch ($obs['type']) {
Expand Down

0 comments on commit ee21958

Please sign in to comment.