Permalink
Browse files

Merge remote branch 'mouneyrac/MDL-25768'

  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jan 10, 2011
2 parents 6b9240c + 6a658c9 commit 726bc5250482389360700ce0d7c915a8a601eee1
Showing with 2 additions and 2 deletions.
  1. +2 −2 blocks/community/forms.php
@@ -131,7 +131,7 @@ public function definition() {
}
}
if (!empty($additionalhubs)) {
- $hubs = $hubs + $additionalhubs;
+ $hubs = array_merge($hubs, $additionalhubs);
}
if (!empty($hubs)) {
@@ -174,7 +174,7 @@ public function definition() {
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)) {

0 comments on commit 726bc52

Please sign in to comment.