Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Fix #798: Slider title needs to support multi-lang filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Dec 21, 2016
1 parent ea14b29 commit 8ccecc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
New in 3.1.1.6
==============
- FIX: Issue #798: Slider title needs to support multi-lang filter.
- FIX: Course category multi-lang, ref: https://moodle.org/mod/forum/discuss.php?d=344426#p1389008.

New in 3.1.1.5
Expand Down
2 changes: 1 addition & 1 deletion classes/toolbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ static public function render_indicators($numberofslides) {
static public function render_slide($slideno, $captionoptions) {
$slideurl = self::get_setting('slide'.$slideno.'url');
$slideurltarget = self::get_setting('slide'.$slideno.'target');
$slidetitle = self::get_setting('slide'.$slideno);
$slidetitle = format_string(self::get_setting('slide'.$slideno));
$slidecaption = self::get_setting('slide'.$slideno.'caption', 'format_html');
if ($slideurl) {
// Strip links from the caption to prevent link in a link.
Expand Down

0 comments on commit 8ccecc5

Please sign in to comment.