aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/site_update.php')
-rw-r--r--admin/site_update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/site_update.php b/admin/site_update.php
index 336d3ff26..baf7131af 100644
--- a/admin/site_update.php
+++ b/admin/site_update.php
@@ -111,8 +111,9 @@ if (isset($_POST['submit']))
{
$general_failure = false;
}
+
// shall we simulate only
- if (isset($_POST['simulate']) and $_POST['simulate'] == 1)
+ if ((isset($_POST['simulate']) and $_POST['simulate'] == 1) or is_adviser())
{
$simulate = true;
}