Browse Source

Update Page\Poll

Visman 4 years ago
parent
commit
c133e47455
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Pages/Poll.php

+ 1 - 1
app/Models/Pages/Poll.php

@@ -22,7 +22,7 @@ class Poll extends Page
      */
     public function vote(array $args, string $method): Page
     {
-        $tid   = (int) $args['tid'];
+        $tid   = $args['tid'];
         $topic = $this->c->topics->load($tid);
 
         if (