Some more standards

This commit is contained in:
Michael 2021-08-15 16:24:12 +00:00
parent f29cef175e
commit c78d490c2e

View File

@ -122,6 +122,7 @@ class Subscription
public static function pushByNotificationId(int $nid)
{
$notification = DBA::selectFirst('notification', [], ['id' => $nid]);
$type = Notification::getType($notification);
if (empty($type)) {
return;