From 13f22c911c44582a1a3921ed0d87bd6402cb864f Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Wed, 23 Mar 2022 16:09:13 +0000 Subject: [PATCH] [COMPONENT][Notification] Feed: Fix typo in query --- components/Notification/Controller/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Notification/Controller/Feed.php b/components/Notification/Controller/Feed.php index c9ba7c4fb7..4ad3b192fc 100644 --- a/components/Notification/Controller/Feed.php +++ b/components/Notification/Controller/Feed.php @@ -55,7 +55,7 @@ class Feed extends Controller WHERE act.object_type = 'note' AND act.id IN (SELECT att.activity_id FROM \Component\Notification\Entity\Notification AS att WHERE att.target_id = :target_id) ) - EOF, [':target' => $user->getId()]); + EOF, [':target_id' => $user->getId()]); return [ '_template' => 'collection/notes.html.twig', 'page_title' => _m('Notifications'),