Skip to content

Commit

Permalink
Merge pull request #31319 from seamuslee001/5.79
Browse files Browse the repository at this point in the history
dev/core#5535 Fix Event Cart add Listener to pass an array
  • Loading branch information
seamuslee001 authored Oct 17, 2024
2 parents f66f999 + feba176 commit fba55e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/eventcart/eventcart.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function eventcart_civicrm_config(&$config) {
return;
}
Civi::$statics[__FUNCTION__] = 1;
Civi::dispatcher()->addListener('hook_civicrm_pageRun', 'CRM_Event_Cart_PageCallback::run');
Civi::dispatcher()->addListener('hook_civicrm_pageRun', ['CRM_Event_Cart_PageCallback', 'run']);

_eventcart_civix_civicrm_config($config);
}
Expand Down

0 comments on commit fba55e3

Please sign in to comment.