From cb6ae989078ed316f913eff57fc34b55d00e5e52 Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Thu, 12 Jul 2018 05:58:40 +0100 Subject: [PATCH] #62: Found another reference to the global $albums variable, now $g_albums --- resources/views/themes/base/admin/show_album.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/themes/base/admin/show_album.blade.php b/resources/views/themes/base/admin/show_album.blade.php index 909f0cb..1f45d5b 100644 --- a/resources/views/themes/base/admin/show_album.blade.php +++ b/resources/views/themes/base/admin/show_album.blade.php @@ -111,7 +111,7 @@ @endforeach // Populate the list of albums in the view model - @foreach ($albums as $album) + @foreach ($g_albums as $album) @if(Gate::check('edit', $album) && Gate::check('upload-photos', $album)) editViewModel.data.albums.push({ 'id': '{{ $album->id }}',