diff --git a/lib/filenoticestream.php b/lib/filenoticestream.php index 6dd5a84ff0..f7bca1ed68 100644 --- a/lib/filenoticestream.php +++ b/lib/filenoticestream.php @@ -42,7 +42,7 @@ class FileNoticeStream extends ScopingNoticeStream $profile = Profile::current(); } parent::__construct(new CachingNoticeStream(new RawFileNoticeStream($file), - 'file:notice-ids:'.$this->file->id), + 'file:notice-ids:'.$file->id), $profile); } }