aboutsummaryrefslogtreecommitdiffstats
path: root/admin/menubar.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/menubar.php')
-rw-r--r--admin/menubar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/menubar.php b/admin/menubar.php
index 9873fb8f6..1bf4a61c0 100644
--- a/admin/menubar.php
+++ b/admin/menubar.php
@@ -64,7 +64,7 @@ foreach ($mb_conf as $id => $pos)
unset($mb_conf[$id]);
}
-if ( isset($_POST['reset']) )
+if ( isset($_POST['reset']) and !is_adviser())
{
$mb_conf = array();
$query = '
@@ -85,7 +85,7 @@ foreach ($reg_blocks as $id => $block)
}
-if ( isset($_POST['submit']) )
+if ( isset($_POST['submit']) and !is_adviser() )
{
foreach ( $mb_conf as $id => $pos )
{