From 2f9b58a8ee6f4a303979d30ac3931a98768266fe Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 19 Jun 2008 18:36:29 +0000 Subject: Fixes #50 git-svn-id: https://code.elgg.org/elgg/trunk@1005 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/river/views/default/widgets/river_widget/view.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mod/river/views/default/widgets/river_widget/view.php') diff --git a/mod/river/views/default/widgets/river_widget/view.php b/mod/river/views/default/widgets/river_widget/view.php index 38507c625..27aeb7806 100644 --- a/mod/river/views/default/widgets/river_widget/view.php +++ b/mod/river/views/default/widgets/river_widget/view.php @@ -10,8 +10,12 @@ */ $owner = page_owner_entity(); + $limit = 8; + + if ($vars['entity']->limit) + $limit = $vars['entity']->limit; ?>

name . "'s") ?>

guid); + echo elgg_view_river($owner->guid, $limit); ?> \ No newline at end of file -- cgit v1.2.3