aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 01:36:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 01:36:23 +0000
commit3bfa294985001c2c6ebb58fbf87b2f795e055ca5 (patch)
tree0c1bef5f9afa3f08da345df333dc1a63ed3ffb21 /mod/notifications
parent8c756908c5d72a53b1a4dda0901c8fb3d0191408 (diff)
downloadelgg-3bfa294985001c2c6ebb58fbf87b2f795e055ca5.tar.gz
elgg-3bfa294985001c2c6ebb58fbf87b2f795e055ca5.tar.bz2
Fixes #2640 - elgg_view_layout now uses a parameter array like all the other elgg_view* functions
git-svn-id: http://code.elgg.org/elgg/trunk@7288 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/notifications')
-rw-r--r--mod/notifications/groups.php2
-rw-r--r--mod/notifications/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php
index 9b176955a..10e320032 100644
--- a/mod/notifications/groups.php
+++ b/mod/notifications/groups.php
@@ -30,7 +30,7 @@ $body = elgg_view('input/form',array(
));
// Insert it into the correct canvas layout
-$body = elgg_view_layout('one_column_with_sidebar', $body);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $body));
echo elgg_view_page(elgg_echo('notifications:subscriptions:changesettings:groups'), $body);
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index 209de9cd2..e0565959d 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.php
@@ -28,7 +28,7 @@ if ($people_ents = elgg_get_entities_from_relationship(array('relationship' => '
$body = elgg_view('notifications/subscriptions/form', array('people' => $people));
// Insert it into the correct canvas layout
-$body = elgg_view_layout('one_column_with_sidebar', $body);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $body));
echo elgg_view_page(elgg_echo('notifications:subscriptions:changesettings'), $body);