소스 검색

Update Page\Poll

Visman 4 년 전
부모
커밋
c133e47455
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 (