<div>
<div class="containerHeadline">
- <h3><a href="{link controller='User' object=$userProfile}{/link}" rel="author">{$userProfile->username}</a></h3>
+ <h3>{if $userProfile->userID}<a href="{link controller='User' object=$userProfile}{/link}" rel="author">{$userProfile->username}</a>{else}{$userProfile->username}{/if}</h3>
{if MODULE_USER_RANK && $userProfile->getUserTitle()}<p><span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span></p>{/if}
</div>
- {include file='userInformationStatistics' user=$userProfile}
+ {if $userProfile->userID}
+ {include file='userInformationStatistics' user=$userProfile}
+ {/if}
</div>
</div>
</fieldset>
\ No newline at end of file