mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
The news_items block is working with the new filterall style.
This commit is contained in:
parent
8a2381f6b9
commit
c3cb9fb9a7
1 changed files with 1 additions and 3 deletions
|
@ -84,9 +84,7 @@ class block_news_items extends block_base {
|
||||||
|
|
||||||
$discussion->subject = $discussion->name;
|
$discussion->subject = $discussion->name;
|
||||||
|
|
||||||
if (!empty($CFG->filterall)) {
|
$discussion->subject = format_string($discussion->subject, true, $forum->course);
|
||||||
$discussion->subject = filter_text($discussion->subject, $forum->course);
|
|
||||||
}
|
|
||||||
|
|
||||||
$text .= '<div class="post">'.
|
$text .= '<div class="post">'.
|
||||||
'<div class="head">'.
|
'<div class="head">'.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue