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:
@@ -58,7 +58,7 @@ class UserMetadataUpdater
|
||||
|
||||
protected function updateRepliesCount(User $user, $amount)
|
||||
{
|
||||
$user->posts_count += $amount;
|
||||
$user->comments_count += $amount;
|
||||
$user->save();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user