aboutsummaryrefslogtreecommitdiffstats
path: root/help
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-04-18 09:30:37 +0200
committerJakob Sack <kde@jakobsack.de>2011-04-18 09:30:37 +0200
commit43646dbf8de86dfa6408e064e6af0d8bc0b4b51c (patch)
treed14d8df3c8d9f4d3c2f7749685a014bbc9900377 /help
parent8c5831d95809543641497b05808254eaba5c792b (diff)
downloadnextcloud-server-43646dbf8de86dfa6408e064e6af0d8bc0b4b51c.tar.gz
nextcloud-server-43646dbf8de86dfa6408e064e6af0d8bc0b4b51c.zip
User management works, now we need some usability expert ...
Diffstat (limited to 'help')
-rw-r--r--help/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/appinfo/app.php b/help/appinfo/app.php
index ee308624aaa..fd46085ef77 100644
--- a/help/appinfo/app.php
+++ b/help/appinfo/app.php
@@ -4,7 +4,7 @@ OC_APP::register( array( "order" => 1, "id" => "help", "name" => "Help" ));
// Workaround for having help as the last entry always
$entry = array( "id" => "help", "order" => 1000, "href" => OC_HELPER::linkTo( "help", "index.php" ), "name" => "Help", "icon" => OC_HELPER::imagePath( "help", "help.png" ));
-if( OC_GROUP::inGroup( $_SESSION["user_id"], "admin" )){
+if( isset( $_SESSION["user_id"] ) && OC_GROUP::inGroup( $_SESSION["user_id"], "admin" )){
OC_APP::addAdminPage( $entry );
}
else{