1
0
Fork 0
mirror of synced 2024-06-29 03:30:34 +12:00

fix events to projects without subscriptions

This commit is contained in:
Torsten Dittmann 2021-03-19 11:28:47 +01:00
parent 5e06cd788a
commit 89e5841fee

View file

@ -102,7 +102,7 @@ class Realtime
static function identifyReceivers(array &$event, array &$subscriptions)
{
$receivers = [];
if ($subscriptions[$event['project']]) {
if (isset($subscriptions[$event['project']])) {
foreach ($subscriptions[$event['project']] as $role => $subscription) {
foreach ($event['data']['channels'] as $channel) {
if (