Skip to content

Commit

Permalink
Fixes openemr#7214 pass action status to listener (openemr#7215)
Browse files Browse the repository at this point in the history
Action status was not being passed in the listener.
Fixes openemr#7214
  • Loading branch information
adunsulag authored Feb 11, 2024
1 parent f4f46f2 commit b0cfafc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private function callModuleAfterAction($action, $modId, $dirModule, $currentStat
$instance = $className::initListenerSelf();
if (class_exists($instance::class)) {
if (method_exists($instance, 'moduleManagerAction')) {
return call_user_func([$instance, 'moduleManagerAction'], $methodName, $modId);
return call_user_func([$instance, 'moduleManagerAction'], $methodName, $modId, $currentStatus);
} else {
return $currentStatus;
}
Expand Down

0 comments on commit b0cfafc

Please sign in to comment.