Skip to content

Commit

Permalink
COMCL-643: Fix contribution issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Shahrukh committed Jul 25, 2024
1 parent 3c264d8 commit c2cdfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Financeextras/Hook/PageRun/ContributionPageTab.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function handle($page) {
* @return bool
*/
public static function shouldHandle($page) {
return $page instanceof CRM_Contribute_Page_Tab && $page->_action == CRM_Core_Action::BROWSE;
return $page instanceof CRM_Contribute_Page_Tab && $page->getVar('_action') == CRM_Core_Action::BROWSE;
}

/**
Expand Down

0 comments on commit c2cdfbd

Please sign in to comment.