aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 8a5badc88..cfbcfa547 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1035,9 +1035,7 @@ function elgg_view_title($title, $submenu = false) {
elgg_deprecated_notice('setting $submenu in elgg_view_title() is deprecated', 1.8);
}
- $title = elgg_view('layout/elements/title', array('title' => $title, 'submenu' => $submenu));
-
- return $title;
+ return elgg_view('layout/elements/title', array('title' => $title, 'submenu' => $submenu));
}
/**