mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21235 fixing trivial regression in workshop renderer
This commit is contained in:
parent
11820bacc1
commit
711a9506ea
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
|
||||||
if (is_null($task->link)) {
|
if (is_null($task->link)) {
|
||||||
$title = $task->title;
|
$title = $task->title;
|
||||||
} else {
|
} else {
|
||||||
$title = html_writer::link($task->link, $task->text);
|
$title = html_writer::link($task->link, $task->title);
|
||||||
}
|
}
|
||||||
$title = $this->output->container($title, 'title');
|
$title = $this->output->container($title, 'title');
|
||||||
$details = $this->output->container($task->details, 'details');
|
$details = $this->output->container($task->details, 'details');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue