Update Page\Edit
This commit is contained in:
parent
21041be5d5
commit
ae1c717afe
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue