just a comment why the workflow is taken from the controller

This commit is contained in:
Uwe Steinmann 2021-03-10 09:14:04 +01:00
parent 6dfe43a4c4
commit 27aefc26c9

View File

@ -805,6 +805,7 @@ switch($command) {
$notifier->toGroup($user, $grp, $subject, $message, $params, SeedDMS_NotificationService::RECV_NOTIFICATION);
}
/* Get workflow from controller in case it was modified in a hook */
$workflow = $controller->getParam('workflow');
if($workflow && $settings->_enableNotificationWorkflow) {
$subject = "request_workflow_action_email_subject";