aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/album_view/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/album_view/view.php')
-rw-r--r--views/default/widgets/album_view/view.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/views/default/widgets/album_view/view.php b/views/default/widgets/album_view/view.php
index b4248df35..1b980aa8b 100644
--- a/views/default/widgets/album_view/view.php
+++ b/views/default/widgets/album_view/view.php
@@ -1,13 +1,14 @@
<div class="contentWrapper">
<?php
- //the number of files to display
- $number = (int) $vars['entity']->num_display;
- //if no number has been set, default to 5
- if (!$number)
- $number = 5;
+//the number of files to display
+$number = (int) $vars['entity']->num_display;
+//if no number has been set, default to 5
+if (!$number) {
+ $number = 5;
+}
- echo elgg_view('tidypics/albums', array('num_albums' => $number));
+echo elgg_view('tidypics/albums', array('num_albums' => $number));
?>
</div> \ No newline at end of file