[COMPONENT][Notification] Feed: Fix typo in query

This commit is contained in:
Diogo Peralta Cordeiro 2022-03-23 16:09:13 +00:00
parent 56b8710b26
commit 13f22c911c
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0

View File

@ -55,7 +55,7 @@ class Feed extends Controller
WHERE act.object_type = 'note' AND act.id IN 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) (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 [ return [
'_template' => 'collection/notes.html.twig', '_template' => 'collection/notes.html.twig',
'page_title' => _m('Notifications'), 'page_title' => _m('Notifications'),