Skip to content

Commit

Permalink
Fixed issue #05844: Validation message should not be shown when using…
Browse files Browse the repository at this point in the history
… resume later function

Dev also fixed so that don't get red messages if just changing languages
  • Loading branch information
TMSWhite committed Feb 22, 2012
1 parent e14794b commit d9ae2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group.php
Expand Up @@ -87,7 +87,7 @@
if (!isset($_SESSION['totalsteps'])) {$_SESSION['totalsteps']=0;}
if (!isset($_SESSION['maxstep'])) {$_SESSION['maxstep']=0;}

if (!(isset($_POST['saveall']) || isset($_POST['saveprompt']) || isset($_POST['loadall']) || isset($_GET['sid'])))
if (!(isset($_POST['saveall']) || isset($_POST['saveprompt']) || isset($_POST['loadall']) || isset($_GET['sid']) || (isset($move) && (preg_match('/^changelang_/',$move)))))
{
$_SESSION['prevstep']=$_SESSION['step'];
}
Expand Down

0 comments on commit d9ae2e6

Please sign in to comment.