mirror of
https://github.com/flarum/core.git
synced 2025-07-19 07:41:22 +02:00
Merge pull request #4 from liji/fix-discussion-not-updated-after-approval
fix:discussion was not updated correctly after post approval
This commit is contained in:
@@ -63,7 +63,7 @@ class ApproveContent
|
||||
|
||||
if ($post->number == 1) {
|
||||
$post->discussion->is_approved = true;
|
||||
}
|
||||
$post->discussion->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user