From 189aafe61c2c42400f3afcde3075d7f00ae438d7 Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Wed, 11 Jul 2018 08:49:43 +0100 Subject: [PATCH] #62: another $albums reference --- resources/views/themes/base/partials/navbar.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/themes/base/partials/navbar.blade.php b/resources/views/themes/base/partials/navbar.blade.php index e40b55b..7030bf1 100644 --- a/resources/views/themes/base/partials/navbar.blade.php +++ b/resources/views/themes/base/partials/navbar.blade.php @@ -44,7 +44,7 @@ @endif - @if (count($albums) > 0 && \App\User::currentOrAnonymous()->can('statistics.public-access')) + @if (count($g_albums) > 0 && \App\User::currentOrAnonymous()->can('statistics.public-access'))