Skip to content

Commit

Permalink
Merge pull request #29 in DEV/moodle from INT-8381_course_cards_+1_bu…
Browse files Browse the repository at this point in the history
…g to release/2.9+2

* commit '66e13f6fdbf58b888d149fcfdb1cf43ebde44994':
  INT-8381: course card contacts +1 bug
  • Loading branch information
Mr Bot committed Feb 18, 2016
2 parents 0ba6f2a + fdeb8ca commit 6229099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderers/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ public function fixed_menu() {
// Let's put the interesting avatars first!
$avatars = array_merge($avatars, $blankavatars);
// Limit visible to 4.
if (count($avatars) > 4) {
if (count($avatars) > 5) {
// Show 4 avatars and link to show more.
$hiddenavatars = array_slice($avatars, 4);
$avatars = array_slice($avatars, 0, 4);
Expand Down

0 comments on commit 6229099

Please sign in to comment.