- changed status to open
Issue #17
resolved
There's a bug in the updated version of OctoberCMS when voting. It occurs online 447
in Xeor\Comments\Components\Comments
. The pluck
command now returns a collection instead of the raw value.
You can use:
if ($voteId->count()) { Vote::where('id', $voteId) ->update(['value' => $value]); }
instead of
if ($voteId) { Vote::where('id', $voteId) ->update(['value' => $value]); }
Comments (3)
-
repo owner -
reporter This is with Laravel5.5 and October CMS >= 421
-
repo owner - changed status to resolved
Fixed by f82618c v.2018.6.6
- Log in to comment