]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Notifications/Notification.php
Use router parameters in Admin modules
[friendica.git] / src / Module / Notifications / Notification.php
index 63e9291b94bc200eda2389dd6db232bcbd4b7d5e..2dc008248e703d2d2f5757a9dbe00a212f356807 100644 (file)
@@ -107,7 +107,7 @@ class Notification extends BaseModule
                $request_id = $parameters['id'] ?? false;
 
                if ($request_id) {
-                       $notify = DI::notify()->getByID($request_id);
+                       $notify = DI::notify()->getByID($request_id, local_user());
                        DI::notify()->setSeen(true, $notify);
 
                        if (!empty($notify->link)) {