Skip to content

Commit

Permalink
Quick fix in gallery view
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSkierniewski committed Apr 30, 2017
1 parent d4df5cf commit ba01338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/includes/gallery.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@if(!empty($images))
@if(!empty($images) && $images->isNotEmpty())
<div class="row image-gallery">
@foreach($images as $image)
<?php $imageTranslation = $image->translation($lang->code); ?>
Expand Down

0 comments on commit ba01338

Please sign in to comment.