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:
rub
2006-07-11 20:56:51 +00:00
parent 8078daf5cd
commit c13dc6350d
9 changed files with 42 additions and 14 deletions
+2 -1
View File
@@ -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;
}