Skip to content

Commit

Permalink
Fixed #3533: When not answering a mandatory question in All-in-one su…
Browse files Browse the repository at this point in the history
…rvey mode and using captchas you are getting the captcha page again

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7433 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 10, 2009
1 parent 99a935f commit d2d427f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion survey.php
Expand Up @@ -223,7 +223,7 @@
}

//RUN THIS IF THIS IS THE FIRST TIME
if (!isset($_SESSION['step']) || !$_SESSION['step'] || !isset($totalquestions))
if ((!isset($_SESSION['step']) || !$_SESSION['step'] || !isset($totalquestions)) && (!isset($notanswered) || !$notanswered) && (!isset($notvalidated) && !$notvalidated))
{
$totalquestions = buildsurveysession();
$_SESSION['step'] = 1;
Expand Down

0 comments on commit d2d427f

Please sign in to comment.