Browse Source

Fix Admin\Reports page

Visman 4 years ago
parent
commit
c9b033873c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Pages/Admin/Reports.php

+ 1 - 1
app/Models/Pages/Admin/Reports.php

@@ -150,7 +150,7 @@ class Reports extends Admin
     public function zap(array $args, string $method): Page
     {
         if (! $this->c->Csrf->verify($args['token'], 'AdminReportsZap', $args)) {
-            return $this->c->Redirect->url($forum->link)->message('Bad token');
+            return $this->c->Message->message('Bad token');
         }
 
         $this->c->Lang->load('admin_reports');