Skip to content

Commit

Permalink
Fix conflict with Ohanah Event Component
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhlh committed Jul 24, 2014
1 parent b44a75e commit 3512f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/plg_system_t3/t3.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function onContentPrepare ($context, &$article, &$params, $page = 0) {
$app = JFactory::getApplication();
$tmpl = $app->getTemplate(true);
if ($tmpl->params->get('link_titles') !== NULL) {
$article->params->set('link_titles', $tmpl->params->get('link_titles'));
if (isset($article->params) && is_object($article->params)) $article->params->set('link_titles', $tmpl->params->get('link_titles'));
}
}
}
Expand Down

0 comments on commit 3512f60

Please sign in to comment.