Browse Source

Update PostFormTrait.php

Visman 4 years ago
parent
commit
4fe6c50549
1 changed files with 2 additions and 8 deletions
  1. 2 8
      app/Models/Pages/PostFormTrait.php

+ 2 - 8
app/Models/Pages/PostFormTrait.php

@@ -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'   => [