From daeb01e9f34db9a3fa57f5727579945885ee42b9 Mon Sep 17 00:00:00 2001 From: buddh4 Date: Sun, 2 Feb 2020 16:06:59 +0100 Subject: [PATCH] Fix: SendMailSummary job not working due to invalid `enableMailSummaries` handling --- protected/humhub/modules/activity/jobs/SendMailSummary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protected/humhub/modules/activity/jobs/SendMailSummary.php b/protected/humhub/modules/activity/jobs/SendMailSummary.php index 4692dd8be0..aff8a1a284 100644 --- a/protected/humhub/modules/activity/jobs/SendMailSummary.php +++ b/protected/humhub/modules/activity/jobs/SendMailSummary.php @@ -35,7 +35,7 @@ class SendMailSummary extends ActiveJob { /** @var Module $module */ $module = Yii::$app->getModule('activity'); - if ($module->enableMailSummaries) { + if (!$module->enableMailSummaries) { return; }