Ver código fonte

Update Page\Poll

Visman 4 anos atrás
pai
commit
c133e47455
1 arquivos alterados com 1 adições e 1 exclusões
  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 (