Fixed Wrong content url for rating in WarningHandler

TickTackk

Well-known member
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'])
        );
    }
 
Back
Top Bottom