Fixes double error message after unsuccessful user search
authorMatthias Schmidt <gravatronics@live.com>
Sat, 9 Nov 2013 17:03:23 +0000 (18:03 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 9 Nov 2013 17:03:23 +0000 (18:03 +0100)
com.woltlab.wcf/templates/userSearch.tpl

index 5a905730d41da25d967c8241ca01067312a5324b..b6aca1c7ee93e455ec6a873af55d43362f5b2e80 100644 (file)
 
 {include file='userNotice'}
 
-{include file='formError'}
-
 {if $errorField == 'search'}
        <p class="error">{lang}wcf.user.search.error.noMatches{/lang}</p>
+{else}
+       {include file='formError'}
 {/if}
 
 <div class="contentNavigation">