summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-06-14 16:03:57 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-06-14 16:03:57 +0200
commit7d3ae7ae9baa7a2212fb80f31434d746e811d455 (patch)
tree2b3ec93dc7b7e27fc8aac67b95159871bb6734f2 /lib/template.php
parent141ffbb1f53f465e64125a020dee6304075a51aa (diff)
downloadnextcloud-server-7d3ae7ae9baa7a2212fb80f31434d746e811d455.tar.gz
nextcloud-server-7d3ae7ae9baa7a2212fb80f31434d746e811d455.zip
fix settings page for non-admin users
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template.php b/lib/template.php
index 0d6776aa26d..93adc35eca7 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -206,9 +206,9 @@ class OC_TEMPLATE{
$page->assign('searchbox', $search->fetchPage());
// Add menu data
if( OC_GROUP::inGroup( $_SESSION["user_id"], "admin" )){
- $page->assign( "settingsnavigation", OC_APP::getSettingsNavigation());
+ $page->assign( "adminnavigation", OC_APP::getAdminNavigation());
}
- $page->assign( "adminnavigation", OC_APP::getAdminNavigation());
+ $page->assign( "settingsnavigation", OC_APP::getSettingsNavigation());
}
else
{