diff --git a/include/class.ticket.php b/include/class.ticket.php
index e7546870eba255341c0819fc8d2af7d98ac5c4eb..2a42ff9c37ee542c2fd7b09e6c74936b2d89b035 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -1718,8 +1718,7 @@ class Ticket {
                 $recipients[]=$this->getLastRespondent();
 
             //Assigned staff if any...could be the last respondent
-
-            if ($this->isAssigned()) {
+            if ($cfg->alertAssignedONNewMessage() && $this->isAssigned()) {
                 if ($staff = $this->getStaff())
                     $recipients[] = $staff;
                 elseif ($team = $this->getTeam())