Update Page\Edit

This commit is contained in:
Visman 2021-02-13 13:14:00 +07:00
parent 21041be5d5
commit ae1c717afe

View file

@ -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)