mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +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 = [];
|
$items = [];
|
||||||
foreach ($content as $key) {
|
foreach ($content as $key) {
|
||||||
if ($node = $this->node->find($key, null)) {
|
if ($node = $this->node->find($key, null)) {
|
||||||
$urldescription = $node->text;
|
if ($node->has_action()) {
|
||||||
$items[$node->action()->out()] = $urldescription;
|
$items[$node->action()->out()] = $node->text;
|
||||||
|
}
|
||||||
|
|
||||||
// Additional items to be added.
|
// Additional items to be added.
|
||||||
if ($key === 'groups') {
|
if ($key === 'groups') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue