aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(