diff --git a/tine20/Tinebase/Scheduler/Task.php b/tine20/Tinebase/Scheduler/Task.php index 03714a0321..6d3903f57a 100644 --- a/tine20/Tinebase/Scheduler/Task.php +++ b/tine20/Tinebase/Scheduler/Task.php @@ -295,7 +295,7 @@ protected function _sendNotification($callable, $infoData) try { $taskName = $this->_name ?? $callable[self::CONTROLLER] . '::' . $callable[self::METHOD_NAME]; - $emails = explode(',', $this->_emails); + $emails = is_array($this->_emails) ? $this->_emails : explode(',', $this->_emails); if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) { Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__