diff --git a/include/class.ticket.php b/include/class.ticket.php index c9811934a7189c9b979d7ca364c5016b6577fd5f..49513b52df6d61b1107366e85ff186838a9e2d6f 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -1660,6 +1660,9 @@ implements RestrictedAccess, Threadable, Searchable { unset($recipients[$key]); } + if (!count($recipients)) + return true; + //see if the ticket user is a recipient if ($owner->getEmail()->address != $poster->getEmail()->address && !in_array($owner->getEmail()->address, $skip)) $owner_recip = $owner->getEmail()->address;