aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-10 07:45:53 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-10 07:45:53 -0400
commit3daee8aa3b9ac62cfcba0d6a7e16836468e26884 (patch)
treeefcfd4eb5a2ae05662428545589d8896ead40cd4 /mod/bookmarks/views
parent86547ed43ca5a970bf118e4f3c88fb6733209c45 (diff)
downloadelgg-3daee8aa3b9ac62cfcba0d6a7e16836468e26884.tar.gz
elgg-3daee8aa3b9ac62cfcba0d6a7e16836468e26884.tar.bz2
Fixes #3949 bookmarks widget fix
Diffstat (limited to 'mod/bookmarks/views')
-rw-r--r--mod/bookmarks/views/default/widgets/bookmarks/edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/bookmarks/views/default/widgets/bookmarks/edit.php b/mod/bookmarks/views/default/widgets/bookmarks/edit.php
index 99d65ac8f..ed9c7fd88 100644
--- a/mod/bookmarks/views/default/widgets/bookmarks/edit.php
+++ b/mod/bookmarks/views/default/widgets/bookmarks/edit.php
@@ -6,13 +6,13 @@
*/
// set default value
-if (!isset($vars['entity']->max_display)) {
- $vars['entity']->max_display = 4;
+if (!isset($vars['entity']->num_display)) {
+ $vars['entity']->num_display = 4;
}
$params = array(
- 'name' => 'params[max_display]',
- 'value' => $vars['entity']->max_display,
+ 'name' => 'params[num_display]',
+ 'value' => $vars['entity']->num_display,
'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10),
);
$dropdown = elgg_view('input/dropdown', $params);