mirror of
https://github.com/flarum/core.git
synced 2025-07-27 11:40:24 +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)
|
protected function updateRepliesCount(User $user, $amount)
|
||||||
{
|
{
|
||||||
$user->posts_count += $amount;
|
$user->comments_count += $amount;
|
||||||
$user->save();
|
$user->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user