Explorar el Código

Update Page\Edit

Visman hace 4 años
padre
commit
ae1c717afe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)