1. 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

Discussion in 'Resource Manager Resolved Bugs' started by batpool52!, Jun 19, 2015.

  1. batpool52!

    batpool52! 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'])
            );
        }
     
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed as well, thanks.
     

Share This Page