From 7fee58e1ef7aaab02630a1c8ee3254d8c4eca383 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 15 Apr 2010 21:45:58 +0000 Subject: Correctly setting context to admin to pull in the admin sidebar for ECML permissions page. git-svn-id: http://code.elgg.org/elgg/trunk@5755 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/start.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/ecml/start.php b/mod/ecml/start.php index 7f99747e9..983894511 100644 --- a/mod/ecml/start.php +++ b/mod/ecml/start.php @@ -100,9 +100,10 @@ function ecml_help_page_handler($page) { */ function ecml_admin_page_handler($page) { admin_gatekeeper(); + set_context('admin'); $content = elgg_view('ecml/admin/ecml_admin'); $body = elgg_view_layout('one_column_with_sidebar', $content); - echo page_draw(elgg_echo('ecml:admin'), $body); + echo page_draw(elgg_echo('ecml:admin'), $body); } /** -- cgit v1.2.3