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