Skip to content

Commit

Permalink
fixed bug #25135: ilNewsForContextBlockGUI: news text rendered twice
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Apr 3, 2019
1 parent ae71fa1 commit 3fe7614
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Services/News/classes/class.ilNewsForContextBlockGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,12 +689,6 @@ function showNews()
$tpl->setVariable("VAL_CONTENT", $renderer->getDetailContent());
$tpl->parseCurrentBlock();
}
if (trim($item["content_long"]) != "") // long content
{
$tpl->setCurrentBlock("long");
$tpl->setVariable("VAL_LONG_CONTENT", $this->makeClickable($item["content_long"]));
$tpl->parseCurrentBlock();
}
if ($item["update_date"] != $item["creation_date"]) // update date
{
$tpl->setCurrentBlock("ni_update");
Expand Down

0 comments on commit 3fe7614

Please sign in to comment.