BUG FIX: username doesn't cut off in link

This commit is contained in:
Lars van Hijfte
2017-02-02 12:52:03 +01:00
parent 1dfc14e6f0
commit 327a6a8f5c
3 changed files with 11 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ foreach($friends as $i => $friend) {
<?= $friend->fullname ?><br/>
<span style='color: #666'><?php
if (isset($friend->username)) {
echo $friend->username;
echo $friend->usernameshort;
} else if (isset($friend->content)) {
echo $friend->content;
}