diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-15 21:45:58 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-15 21:45:58 +0000 |
commit | 7fee58e1ef7aaab02630a1c8ee3254d8c4eca383 (patch) | |
tree | cb94b9ee321313336bd6621a537b1b51fb07de57 /mod | |
parent | 1757ef1d76240516b0fc218701695d06807b9943 (diff) | |
download | elgg-7fee58e1ef7aaab02630a1c8ee3254d8c4eca383.tar.gz elgg-7fee58e1ef7aaab02630a1c8ee3254d8c4eca383.tar.bz2 |
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
Diffstat (limited to 'mod')
-rw-r--r-- | mod/ecml/start.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); } /** |