• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Wrong content url for rating in WarningHandler

batpool52!

Well-known member
#1
PHP:
public function getContentUrl(array $content, $canonical = false)
    {
        return XenForo_Link::buildPublicLink(
            ($canonical ? 'canonical:' : '') . 'resources/reviews',
            $content,
            array('resource_update_id' => $content['resource_rating_id'])
        );
    }
Should be
PHP:
public function getContentUrl(array $content, $canonical = false)
    {
        return XenForo_Link::buildPublicLink(
            ($canonical ? 'canonical:' : '') . 'resources/reviews',
            $content,
            array('resource_rating_id' => $content['resource_rating_id'])
        );
    }