소스 검색

Update Page\Edit

Visman 4 년 전
부모
커밋
ae1c717afe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Models/Pages/Edit.php

+ 1 - 1
app/Models/Pages/Edit.php

@@ -27,7 +27,7 @@ class Edit extends Page
      */
     public function edit(array $args, string $method): Page
     {
-        $post = $this->c->posts->load((int) $args['id']);
+        $post = $this->c->posts->load($args['id']);
 
         if (
             empty($post)