aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/river.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/river.php')
-rw-r--r--engine/lib/river.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 9a2e9b479..12e1dc1f2 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -89,7 +89,7 @@
$subtype = "";
}
- if (!empty($subtype) && elgg_view_exists("river/{$subtype}/event")) {
+ if (!empty($subtype) && elgg_view_exists("river/{$subtype}/{$event}")) {
$tam = elgg_view("river/{$subtype}/$event", array(
'performed_by' => $by_user_obj,
'log_entry' => $log,