Skip to content

Commit

Permalink
Additional scope check due to change in 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Aug 4, 2016
1 parent 4bee831 commit bc000ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions joomlarrssb.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ public function onContentAfterTitle($context, &$article, &$params, $page)
return;
}

// Additional context check; we only want this for the component!
if (strpos($this->app->scope, 'mod_') === 0)
{
return;
}

// Check if the plugin is enabled
if (JPluginHelper::isEnabled('content', 'joomlarrssb') == false)
{
Expand Down

0 comments on commit bc000ae

Please sign in to comment.