|
@@ -4,7 +4,7 @@
|
|
|
@php
|
|
@php
|
|
|
$hasVisibleAllegati = false;
|
|
$hasVisibleAllegati = false;
|
|
|
foreach ($allegati as $allegato) {
|
|
foreach ($allegati as $allegato) {
|
|
|
- if ($allegato->is_visible && $allegato->files && $allegato->gallery_type == 1 && $allegato->is_visible == true) {
|
|
|
|
|
|
|
+ if ($allegato->is_visible && $allegato->files && $allegato->is_visible == true) {
|
|
|
$hasVisibleAllegati = true;
|
|
$hasVisibleAllegati = true;
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|