diff --git a/src/infrastructure/daemon/irc/handler/PhabricatorIRCDifferentialNotificationHandler.php b/src/infrastructure/daemon/irc/handler/PhabricatorIRCDifferentialNotificationHandler.php index e26fef8385..387159f88b 100644 --- a/src/infrastructure/daemon/irc/handler/PhabricatorIRCDifferentialNotificationHandler.php +++ b/src/infrastructure/daemon/irc/handler/PhabricatorIRCDifferentialNotificationHandler.php @@ -57,7 +57,8 @@ final class PhabricatorIRCDifferentialNotificationHandler $actor_name = $handles[$actor_phid]->getName(); $message = "{$actor_name} {$verb} revision D".$data['revision_id']."."; - foreach ($this->getConfig('notification.channels') as $channel) { + $channels = $this->getConfig('notification.channels', array()); + foreach ($channels as $channel) { $this->write('PRIVMSG', "{$channel} :{$message}"); } }