framework/extensions
Toby Zerner bdda467ae1 Prevent crash if likes relationship hasn't been loaded
This could theoretically happen if a post is loaded in some other context
(without its likes relationship) and overwrites the full version in the
store. While this should ideally never happen, it's better to fail
gracefully if it does.

Fixes flarum/core#1665
2018-12-04 09:23:11 +10:30
..
likes Prevent crash if likes relationship hasn't been loaded 2018-12-04 09:23:11 +10:30