Painbaker
Well-known member
- Affected version
- 2.2.4
Param named as $voteId but uses vote date column in finder
PHP:
/**
* @param string $contentType
* @param int $contentId
*
* @param null $voteId
* @return Finder
*/
public function findContentVotes(string $contentType, $contentId, $voteId = null)
{
...
if ($voteId)
{
$finder->where('vote_date', $voteId);
}
return $finder;
}