Visman před 4 roky
rodič
revize
ae1c717afe
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)