Skip to content

Commit

Permalink
Fixed issue #3799: Assure that the submit button appears if the last …
Browse files Browse the repository at this point in the history
…group has no questions - patch by ronvdburg

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9232 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Oct 13, 2010
1 parent 8efe557 commit 4a2f322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -2579,7 +2579,7 @@ function surveymover()
$surveymover .= "\t<input class='submit' type='submit' onclick=\"javascript:document.limesurvey.move.value = 'movenext';\" value=' "
. $clang->gT("Next")." &gt;&gt; ' name='move2' />\n";
}
if ($_SESSION['step'] && ($_SESSION['step'] == $_SESSION['totalsteps']) && !$presentinggroupdescription)
if ($_SESSION['step'] && ($_SESSION['step'] >= $_SESSION['totalsteps']) && !$presentinggroupdescription)
{
$surveymover .= "\t<input class='submit' type='submit' accesskey='l' onclick=\"javascript:document.limesurvey.move.value = 'movesubmit';\" value=' "
. $clang->gT("Submit")." ' name='move2' />\n";
Expand Down

0 comments on commit 4a2f322

Please sign in to comment.