Parcourir la source

Update Page\Edit

Visman il y a 4 ans
Parent
commit
ae1c717afe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)