Skip to content

Commit

Permalink
Update router.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent c352b43 commit e0ded04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/controller/startup/router.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function index(): mixed {
// Trigger the pre events
$result = $this->event->trigger('controller/' . $route . '/before', [
&$route,
&$data
&$args
]);

if (!is_null($result)) {
Expand All @@ -38,7 +38,7 @@ public function index(): mixed {
// Trigger the post events
$result = $this->event->trigger('controller/' . $route . '/after', [
&$route,
&$data,
&$args,
&$output
]);

Expand Down

0 comments on commit e0ded04

Please sign in to comment.