aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/album_view/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/album_view/edit.php')
-rw-r--r--views/default/widgets/album_view/edit.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/views/default/widgets/album_view/edit.php b/views/default/widgets/album_view/edit.php
index 992699cb0..9068ffe17 100644
--- a/views/default/widgets/album_view/edit.php
+++ b/views/default/widgets/album_view/edit.php
@@ -1,11 +1,12 @@
<p>
<?php
- echo elgg_echo("tidypics:widget:num_albums") . ": ";
-
-
- if($vars['entity']->num_display == '') $vars['entity']->num_display = 5;
-
+echo elgg_echo("tidypics:widget:num_albums") . ": ";
+
+
+if ($vars['entity']->num_display == '') {
+ $vars['entity']->num_display = 5;
+}
?>
<select name="params[num_display]">
<option value="1" <?php if($vars['entity']->num_display == 1) echo "SELECTED"; ?>>1</option>