diff --git a/files/templates/mobile_navigation_bar.html b/files/templates/mobile_navigation_bar.html index 666054609..3d6867d47 100644 --- a/files/templates/mobile_navigation_bar.html +++ b/files/templates/mobile_navigation_bar.html @@ -11,7 +11,7 @@ -{% if v.defaultsorting == 'new' %} +{% if v and v.defaultsorting == 'new' %} {# v check is required because the default template is used in error.html #}