aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/tidypics/groupprofile_albums.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/tidypics/groupprofile_albums.php b/views/default/tidypics/groupprofile_albums.php
index ea11006fa..ff63a38d1 100644
--- a/views/default/tidypics/groupprofile_albums.php
+++ b/views/default/tidypics/groupprofile_albums.php
@@ -1,4 +1,7 @@
<?php
+
+if ($vars['entity']->photos_enable != 'no') {
+
//the number of files to display
$number = (int) $vars['entity']->num_display;
//if no number has been set, default to 5
@@ -57,4 +60,5 @@
}
//close group_albums_widget div
echo "</div>";
+}
?> \ No newline at end of file