Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 57494d7

Browse files
author
Charles Ma
committed
BUG: fixed bug #153 The thumbnail link on the user manage page is broken
1 parent a017f20 commit 57494d7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

core/views/user/manage.phtml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,7 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/common/common.bro
2121
<div class="viewMain">
2222
<div class="genericThumbnail">
2323
<?php
24-
$thumbnail=$this->user->getThumbnail();
25-
if(!empty($thumbnail))
26-
{
27-
echo "<img class='thumbnailSmall' src='{$this->webroot}/{$thumbnail}' alt=''/>";
28-
}
29-
else
30-
{
31-
echo "<img class='thumbnailSmall' src='{$this->coreWebroot}/public/images/icons/unknownUser.png' alt=''/>";
32-
}
24+
echo $this->userthumbnail($thumbnail);
3325
?>
3426
</div>
3527
<div class="genericInfo">

0 commit comments

Comments
 (0)