diff options
-rw-r--r-- | engine/lib/river.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); |