aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 18:32:35 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 18:32:35 +0000
commitdd10d397db7725f87cac92ddfb862ae13b2388cb (patch)
tree05074747939c2040a24e44a1315ab25b7d39af43 /engine
parent33bd12ba604a9345974da3097c3a960b9597003f (diff)
downloadelgg-dd10d397db7725f87cac92ddfb862ae13b2388cb.tar.gz
elgg-dd10d397db7725f87cac92ddfb862ae13b2388cb.tar.bz2
Modified river functions to use a common wrapper
git-svn-id: https://code.elgg.org/elgg/trunk@1004 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/river.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 7461a4f60..fbafa44d7 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -87,7 +87,11 @@
'performed_by' => $by_user_obj,
'log_entry' => $log,
'object' => $object
- ));
+ ));
+
+ if (!empty($tam)) {
+ $tam = elgg_view("river/wrapper",array('entry' => $tam, 'log' => $log));
+ }
if ($tam)
{