aboutsummaryrefslogtreecommitdiff
path: root/mod/river/views/default/widgets/river_widget/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/river/views/default/widgets/river_widget/edit.php')
-rw-r--r--mod/river/views/default/widgets/river_widget/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/river/views/default/widgets/river_widget/edit.php b/mod/river/views/default/widgets/river_widget/edit.php
index 9d89c56dd..a2120029b 100644
--- a/mod/river/views/default/widgets/river_widget/edit.php
+++ b/mod/river/views/default/widgets/river_widget/edit.php
@@ -14,7 +14,7 @@
<select name="params[limit]">
<option value="5" <?php if ($vars['entity']->limit == 5) echo " selected=\"yes\" "; ?>>5</option>
- <option value="8" <?php if ((!isset($vars['entity']->limit)) || ($vars['entity']->limit == 8)) echo " selected=\"yes\" "; ?>>8</option>
+ <option value="8" <?php if ((!$vars['entity']->limit) || ($vars['entity']->limit == 8)) echo " selected=\"yes\" "; ?>>8</option>
<option value="12" <?php if ($vars['entity']->limit == 12) echo " selected=\"yes\" "; ?>>12</option>
<option value="15" <?php if ($vars['entity']->limit == 15) echo " selected=\"yes\" "; ?>>15</option>
</select>