From 27aefc26c9c06a3298279d5b3ee0a537d82ab932 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 10 Mar 2021 09:14:04 +0100 Subject: [PATCH] just a comment why the workflow is taken from the controller --- op/op.Ajax.php | 1 + 1 file changed, 1 insertion(+) diff --git a/op/op.Ajax.php b/op/op.Ajax.php index f6cff0cdb..03431a504 100644 --- a/op/op.Ajax.php +++ b/op/op.Ajax.php @@ -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";