aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_update.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-07-11 20:51:24 +0000
committerrub <rub@piwigo.org>2006-07-11 20:51:24 +0000
commit8a7fff22b0ada393cff2543fbf17c0cf52f0d03d (patch)
tree2d8f5a667fa1199708aedec7e0e6835fc3a90640 /admin/site_update.php
parentcfcb489cfa131a56e057e358b7041a7dd6dd71ab (diff)
Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode git-svn-id: http://piwigo.org/svn/trunk@1458 68402e56-0260-453c-a942-63ccdbb3a9ee
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;
}