From 821c35aacd93d6605d783e21161f996e6677f39a Mon Sep 17 00:00:00 2001 From: oliver Date: Thu, 2 Apr 2015 12:55:42 +0200 Subject: [PATCH] send Quest submission mails only to moderators of the same Seminary as the Quest is of --- controllers/QuestsController.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/QuestsController.inc b/controllers/QuestsController.inc index 017ef6a8..6462939e 100644 --- a/controllers/QuestsController.inc +++ b/controllers/QuestsController.inc @@ -1435,7 +1435,7 @@ private function sendSubmissionMail($seminary, $questgroup, $quest, $character) { // Get system moderators - $moderators = $this->Characters->getCharactersWithRole('moderator'); + $moderators = $this->Characters->getCharactersWithCharacterRole($seminary['id'], 'moderator'); // Send notification mail try {