From 13e216032f2bea4da073d4157368b86c28367eea Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 5 Jun 2022 14:22:16 +0000 Subject: [PATCH] Use the user id instead of "local_user()" --- src/Navigation/Notifications/Repository/Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Navigation/Notifications/Repository/Notify.php b/src/Navigation/Notifications/Repository/Notify.php index 1966ee4d8a..71d2eba0cf 100644 --- a/src/Navigation/Notifications/Repository/Notify.php +++ b/src/Navigation/Notifications/Repository/Notify.php @@ -675,7 +675,7 @@ class Notify extends BaseRepository return true; } - $notify_type = $this->pConfig->get(local_user(), 'system', 'notify_type', 3 | 72 | 4 | 16 | 32); + $notify_type = $this->pConfig->get($Notification->uid, 'system', 'notify_type', 3 | 72 | 4 | 16 | 32); if (($notify_type & 3) && in_array($Notification->type, [Model\Post\UserNotification::TYPE_EXPLICIT_TAGGED, Model\Post\UserNotification::TYPE_IMPLICIT_TAGGED])) { return true; -- 2.39.5