aboutsummaryrefslogtreecommitdiff
path: root/mod/river/views/default
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 17:10:18 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 17:10:18 +0000
commit3bc3e27d1280383c4e92b0cc4d419521c9ce9e96 (patch)
treef63ce2f3b12b6f2567dc60e12c4fa5a99ca0ee71 /mod/river/views/default
parent103ef32d17b17a27694873eb5ccc31e33927ed42 (diff)
downloadelgg-3bc3e27d1280383c4e92b0cc4d419521c9ce9e96.tar.gz
elgg-3bc3e27d1280383c4e92b0cc4d419521c9ce9e96.tar.bz2
Using a different test to handle metadata better
git-svn-id: https://code.elgg.org/elgg/trunk@1030 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/river/views/default')
-rw-r--r--mod/river/views/default/widgets/river_widget/edit.php2
-rw-r--r--mod/river/views/default/widgets/river_widget_friends/edit.php2
2 files changed, 2 insertions, 2 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>
diff --git a/mod/river/views/default/widgets/river_widget_friends/edit.php b/mod/river/views/default/widgets/river_widget_friends/edit.php
index 9d89c56dd..a2120029b 100644
--- a/mod/river/views/default/widgets/river_widget_friends/edit.php
+++ b/mod/river/views/default/widgets/river_widget_friends/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>