aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-26 16:51:43 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-26 16:51:43 +0000
commitd101ec985080ebf5fbf069aaee2af94b8e9a1cb3 (patch)
tree3789237c132a0cb49753161cf42c28aba51e3d7d /engine
parentb2c8624c1069829f815ebfcbaa18d06a27dde34e (diff)
downloadelgg-d101ec985080ebf5fbf069aaee2af94b8e9a1cb3.tar.gz
elgg-d101ec985080ebf5fbf069aaee2af94b8e9a1cb3.tar.bz2
Widget river items are now of the form river/widget/handler/event.
git-svn-id: https://code.elgg.org/elgg/trunk@1151 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/river.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index a6c29a9d6..cbab2574a 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -93,6 +93,9 @@
} else {
$subtype = "";
}
+ if ($subtype == "widget") {
+ $subtype = "widget/" . $object->handler;
+ }
if (!empty($subtype) && elgg_view_exists("river/{$subtype}/{$event}")) {
$tam = elgg_view("river/{$subtype}/$event", array(