diff --git a/plugins/AttachmentCollections/AttachmentCollections.php b/plugins/AttachmentCollections/AttachmentCollections.php index 2e81e124ea..04220f187c 100644 --- a/plugins/AttachmentCollections/AttachmentCollections.php +++ b/plugins/AttachmentCollections/AttachmentCollections.php @@ -98,7 +98,7 @@ class AttachmentCollections extends Plugin */ public function onAppendRightPanelBlock($vars, Request $request, &$res): bool { - if ($vars['path'] !== 'attachment_show') { + if ($vars['path'] !== 'note_attachment_show') { return Event::next; } $user = Common::user();