aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/elgglib.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r--engine/lib/elgglib.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 7e785ce07..57b8c71c8 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -328,7 +328,7 @@
* @param unknown_type $body
* @return unknown
*/
- function page_draw($title, $body) {
+ function page_draw($title, $body, $sidebar = "") {
if (isloggedin()) {
$view = "pageshells/pageshell";
} else {
@@ -337,6 +337,7 @@
echo elgg_view('pageshells/pageshell', array(
'title' => $title,
'body' => $body,
+ 'sidebar' => $sidebar,
'sysmessages' => system_messages(null,"")
)
);