diff --git a/include/class.ticket.php b/include/class.ticket.php index 3215f10ff987b5b8706c3c392d06403b0b0d5a8e..fdaedb949961b79f382c4d091d86b379170ccf57 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1156,7 +1156,10 @@ class Ticket { } // Reopen if closed AND reopenable - if ($this->isClosed() && $this->isReopenable()) + // We're also checking autorespond flag because we don't want to + // reopen closed tickets on auto-reply from end user. This is not to + // confused with autorespond on new message setting + if ($autorespond && $this->isClosed() && $this->isReopenable()) $this->reopen(); /********** double check auto-response ************/