mirror of
https://github.com/flarum/framework.git
synced 2025-02-23 23:49:57 +08:00

Fixes #1956 - ErrorException: Trying to get property 'display_name' of non-object. ConfigureMentions::addPostId method set mention details based on if there was an existing post. This caused an error if there was an existing post, but the user who posted had been deleted. The mention details are now only set if there is a user associated with the post being mentioned.
Description
Simple forum software for building great communities.
199 MiB
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%