Skip to content

Commit

Permalink
BBCode: Lowercase self (#4893)
Browse files Browse the repository at this point in the history
  • Loading branch information
810 committed Oct 31, 2016
1 parent 13440b4 commit f3f08ca
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/libraries/kunena/bbcode/bbcode.php
Expand Up @@ -1529,11 +1529,7 @@ public function DoEbay($bbcode, $action, $name, $default, $params, $content)
return '<a target="_blank" href="http://www.ebay.com/itm/'.$content.'?lang=' . $config->ebaylanguagecode . '&campid='.$config->ebay_affiliate_id.'">www.ebay.com/itm/'.$content.'</a>';
}

// Max display size.
$width = (int) $config->rtewidth;
$height = (int) $config->rteheight;

return SELF::renderEbayLayout($content);
return self::renderEbayLayout($content);
}

/**
Expand Down Expand Up @@ -2891,7 +2887,7 @@ public static function renderEbayLayout($ItemID)

if ($layout->getPath())
{
$ebay = SELF::getEbayItemFromCache($ItemID);
$ebay = self::getEbayItemFromCache($ItemID);

if (is_object($ebay) && $ebay->Ack == 'Success')
{
Expand Down

0 comments on commit f3f08ca

Please sign in to comment.