This commit is contained in:
2023-11-20 00:32:26 +08:00
parent 9ce3e5c82a
commit 2559d4be1c
37 changed files with 288 additions and 12419 deletions

View File

@@ -13,9 +13,8 @@ public static function handle(int $post_id)
{
$post = Post::find($post_id);
if (is_null($post))
{
return ;
if (is_null($post)) {
return;
}
$post->status = 'publish';