From afe892810e6736739df91e6618399160690b606b Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 16 Oct 2008 10:18:15 +0000 Subject: River performance tweak git-svn-id: https://code.elgg.org/elgg/trunk@2266 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/river.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/river.php b/engine/lib/river.php index 36e9b9eb1..0952ad965 100644 --- a/engine/lib/river.php +++ b/engine/lib/river.php @@ -161,7 +161,8 @@ // Get all potential river events from available view $river_events = array(); - foreach (elgg_view_tree('river') as $view) + $river_views = elgg_view_tree('river'); + foreach ($river_views as $view) { $fragments = explode('/', $view); -- cgit v1.2.3