mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Merge branch 'MDL-73674' of https://github.com/paulholden/moodle
This commit is contained in:
commit
55b7ac9064
1 changed files with 3 additions and 2 deletions
|
@ -92,8 +92,9 @@ class participants_action_bar implements \renderable {
|
|||
$items = [];
|
||||
foreach ($content as $key) {
|
||||
if ($node = $this->node->find($key, null)) {
|
||||
$urldescription = $node->text;
|
||||
$items[$node->action()->out()] = $urldescription;
|
||||
if ($node->has_action()) {
|
||||
$items[$node->action()->out()] = $node->text;
|
||||
}
|
||||
|
||||
// Additional items to be added.
|
||||
if ($key === 'groups') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue