Skip to content

Commit

Permalink
Fixed 'onContentPrepare' trigger in 'tag' view
Browse files Browse the repository at this point in the history
  • Loading branch information
tQuant committed Apr 29, 2014
1 parent 78e1fc4 commit 296e38e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/com_tags/views/tag/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ public function display($tpl = null)
$results = $dispatcher->trigger('onContentAfterDisplay', array('com_tags.tag', &$itemElement, &$itemElement->core_params, 0));
$itemElement->event->afterDisplayContent = trim(implode("\n", $results));

// Write the results back into the body
if ( !empty($itemElement->core_body) ) $itemElement->core_body = $itemElement->text;
}
}

Expand Down

0 comments on commit 296e38e

Please sign in to comment.