Skip to content

Commit

Permalink
Merge pull request #2988 from ounziw/ounziw-patch-membersprofile
Browse files Browse the repository at this point in the history
Bug Fix: minor: members/profile page assumes User Profile enabled.
  • Loading branch information
aembler committed Oct 1, 2015
2 parents 607f337 + 38bb5ad commit 184e3b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/concrete/single_pages/account/messages/inbox.php
Expand Up @@ -19,8 +19,13 @@
), false)?>

<div id="ccm-private-message-detail">
<? if (\Config::get('concrete.user.profiles_enabled')) { ?>
<a href="<?=$view->url('/members/profile', 'view', $msg->getMessageRelevantUserID())?>"><?=$av->outputUserAvatar($msg->getMessageRelevantUserObject())?></a>
<a href="<?=$view->url('/members/profile', 'view', $msg->getMessageRelevantUserID())?>"><?=$msg->getMessageRelevantUserName()?></a>
<? } else { ?>
<?=$av->outputUserAvatar($msg->getMessageRelevantUserObject())?>
<?=$msg->getMessageRelevantUserName()?>
<? } ?>

<div id="ccm-private-message-actions">

Expand Down

0 comments on commit 184e3b8

Please sign in to comment.