mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
fix:discussion was not updated correctly after approval
This commit is contained in:
parent
f64369e61a
commit
29a5240f64
@ -63,7 +63,7 @@ class ApproveContent
|
||||
|
||||
if ($post->number == 1) {
|
||||
$post->discussion->is_approved = true;
|
||||
$post->discussion->save();
|
||||
}
|
||||
$post->discussion->save();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user