Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbeaty committed Feb 25, 2025
1 parent ee21958 commit 977a78f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/code/core/Mage/Core/Model/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -1430,12 +1430,12 @@ public function dispatchEvent($eventName, $args)
foreach ($events[$eventName]['observers'] as $obsName => $obs) {
$observer = new Varien_Event_Observer([
'event' => new Varien_Event([
...$obs['args'],
...$args,
...$obs['args'], // Default config.xml <args>
...$args, // Mage::dispatchEvent() $args
'name' => $eventName,
]),
...$obs['args'],
...$args,
...$obs['args'], // Default config.xml <args>
...$args, // Mage::dispatchEvent() $args
]);
Varien_Profiler::start('OBSERVER: ' . $obsName);
switch ($obs['type']) {
Expand Down

0 comments on commit 977a78f

Please sign in to comment.