1
0
mirror of https://github.com/flarum/core.git synced 2025-08-29 19:09:58 +02:00

Fix crash when loading notifications in some instances

Specifically, the crash would occur when the first notification had a subject without a discussion relationship (e.g. the Subscriptions extension's newPost notification, where the subject itself was a discussion). Instead of simply eager loading the nested subject.discussion relationship, we load discussions manually instead.
This commit is contained in:
Toby Zerner
2015-12-03 15:10:05 +10:30
parent cea1cbc2d6
commit 287ce2fddd
2 changed files with 33 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fix error when sorting discussions by "oldest" (#627)
- Fix composer preview button on mobile (#196)
- Enable "Start a Discussion" button if global permissions are restricted but tag-specific permissions are granted (#640)
- Fix crash when loading notifications in some instances
- Improve composer appearance/usability on mobile
- Show "reply" action in discussion menu on mobile
- Fix some issues with dropdown positioning