[RSS Feed/News] Incorrect column name in repository ContentVote::findContentVotes

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Param named as $voteId but uses vote date column in finder

PHP:

Code:
    /**
     * @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;
    }

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom