mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
community hub finder MDL-25768 private hubs weren't displayed in the hub list
This commit is contained in:
parent
c63ebd4311
commit
6a658c9173
@ -131,7 +131,7 @@ class community_hub_search_form extends moodleform {
|
||||
}
|
||||
}
|
||||
if (!empty($additionalhubs)) {
|
||||
$hubs = $hubs + $additionalhubs;
|
||||
$hubs = array_merge($hubs, $additionalhubs);
|
||||
}
|
||||
|
||||
if (!empty($hubs)) {
|
||||
@ -174,7 +174,7 @@ class community_hub_search_form extends moodleform {
|
||||
array('class' => $hub['trusted'] ? 'hubtrusted' : 'hubnottrusted'));
|
||||
} else {
|
||||
$hubdescription = html_writer::tag('a', $hub['name'],
|
||||
array('class' => 'hublink', 'href' => $hub['url']));
|
||||
array('class' => 'hublink hubtrusted', 'href' => $hub['url']));
|
||||
}
|
||||
|
||||
if (empty($firsthub)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user