#62: Found another reference to the global $albums variable, now $g_albums

This commit is contained in:
Andy Heathershaw 2018-07-12 05:58:40 +01:00
parent cc3370c4b1
commit cb6ae98907

View File

@ -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 }}',