Skip to content

Commit f30f893

Browse files
authored
Merge pull request #215 from itk-dev/hotfix/add-missing-handler-condition
Hotfix/add missing handler condition
2 parents 31c329d + ac45d5b commit f30f893

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ before starting to add changes. Use example [placed in the end of the page](#exa
1111

1212
## [Unreleased]
1313

14+
- [PR-215](https://github.com/OS2Forms/os2forms/pull/215)
15+
Added condition to maestro notification submission handler
1416
- [PR-101](https://github.com/OS2Forms/os2forms/pull/101)
1517
- Added support for `os2web_key` in Digital post
1618
- Switched from saving settings in key value store to config, i.e

modules/os2forms_forloeb/src/MaestroHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ private function sendNotification(
239239
|| $handler->isDisabled()
240240
|| $handler->isExcluded()
241241
|| !$handler->isNotificationEnabled($notificationType)
242+
|| !$handler->checkConditions($submission)
242243
) {
243244
continue;
244245
}

0 commit comments

Comments
 (0)