From 8a7fff22b0ada393cff2543fbf17c0cf52f0d03d Mon Sep 17 00:00:00 2001 From: rub Date: Tue, 11 Jul 2006 20:51:24 +0000 Subject: 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 --- admin/site_update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'admin/site_update.php') 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; } -- cgit v1.2.3