fix wrong settings form being restricted to admin only

This commit is contained in:
Robin Appelman 2010-09-06 22:34:29 +02:00
parent ec7c069653
commit b0dbb2ac9d
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ OC_UTIL::showheader();
$FIRSTRUN=false;
OC_CONFIG::addForm('System Settings','/inc/templates/adminform.php');
OC_CONFIG::addForm('User Settings','/inc/templates/configform.php');
if(OC_USER::ingroup($_SESSION['username'],'admin')){
OC_CONFIG::addForm('User Settings','/inc/templates/configform.php');
OC_CONFIG::addForm('System Settings','/inc/templates/adminform.php');
}
echo('<div class="center">');