mirror of
https://github.com/flarum/core.git
synced 2025-07-27 19:50:20 +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