Skip to content

Commit

Permalink
zmiana na php 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-boduch committed Jun 7, 2018
1 parent 2a7768c commit 00be0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Forum/VoteController.php
Expand Up @@ -67,7 +67,7 @@ public function index($post)
// add or subtract reputation points
app('reputation.post.vote')
->setUserId($post->user_id)
->setPositive(!count($vote))
->setPositive($vote === null)
->setUrl($url)
->setPostId($post->id)
->setExcerpt($excerpt)
Expand Down

0 comments on commit 00be0e6

Please sign in to comment.