Fix fatal error when viewing a discussion with multiple pages of posts
Fix fatal error when viewing a discussion with multiple pages of posts

flarum/flarum-ext-mentions,flarum/flarum-ext-mentions,flarum/flarum-ext-mentions