1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 18:51:40 +02:00

Fix error when hiding/restoring posts

This commit is contained in:
Toby Zerner
2015-03-17 17:01:42 +10:30
parent 066f9df18f
commit c3fd7679d3

View File

@@ -58,7 +58,7 @@ class UserMetadataUpdater
protected function updateRepliesCount(User $user, $amount)
{
$user->posts_count += $amount;
$user->comments_count += $amount;
$user->save();
}