From 17c7e1d1cd4c70a224f157334fb2b3f7d8cb22ec Mon Sep 17 00:00:00 2001 From: Hans Chen <haihan@gmail.com> Date: Mon, 18 Mar 2019 11:57:36 +0100 Subject: [PATCH] fix bug not sending new ticket alert to account manager. --- include/class.ticket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.ticket.php b/include/class.ticket.php index 7cc661f95..f269cb793 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1385,7 +1385,7 @@ implements RestrictedAccess, Threadable { } // Account manager - if ($cfg->alertAcctManagerONNewMessage() + if ($cfg->alertAcctManagerONNewTicket() && ($org = $this->getOwner()->getOrganization()) && ($acct_manager = $org->getAccountManager()) ) { -- GitLab