Skip to content

Commit e2168be

Browse files
committed
Fix quicksearches for guests
1 parent 1e4f4cc commit e2168be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

featherbb/View/layout.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
{% if can('board.read') and can('search.topics') %}
141141
<ul class="conr">
142142
<li>{{ trans('Topic searches') }}
143-
{% if userGet('is_guest') %}
143+
{% if not userGet('is_guest') %}
144144
<a href="{{ pathFor('quickSearch', {'show': 'replies'}) }}" title="{{ trans('Show posted topics') }}">{{ trans('Posted topics') }}</a> |
145145
<a href="{{ pathFor('quickSearch', {'show': 'new'}) }}" title="{{ trans('Show new posts') }}">{{ trans('New posts header') }}</a> |
146146
{% endif %}

0 commit comments

Comments
 (0)