Update PostFormTrait.php

This commit is contained in:
Visman 2021-02-13 13:22:07 +07:00
parent 2aa3a8a5fe
commit 4fe6c50549

View file

@ -25,15 +25,9 @@ trait PostFormTrait
$autofocus = $quickReply ? null : true;
$form = [
'action' => $this->c->Router->link(
$marker,
$args
),
'action' => $this->c->Router->link($marker, $args),
'hidden' => [
'token' => $this->c->Csrf->create(
$marker,
$args
),
'token' => $this->c->Csrf->create($marker, $args),
],
'sets' => [],
'btns' => [