mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode Merge BSF r1457:1458 into branch-1_6 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1459 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user