Skip to content

Commit

Permalink
Fixed issue #5179: Error appears in End URL with an INSERTANS entry a…
Browse files Browse the repository at this point in the history
…nd the survey is inactive

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@10128 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed May 27, 2011
1 parent adf55d3 commit 6e06663
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion question.php
Expand Up @@ -209,6 +209,7 @@
{
$assessments = doAssessment($surveyid);
}
$thissurvey['surveyls_url']=dTexts::run($thissurvey['surveyls_url']);

if($thissurvey['printanswers'] != 'Y')
{
Expand Down Expand Up @@ -714,7 +715,7 @@

echo "<input type='hidden' name='thisstep' value='{$_SESSION['step']}' id='thisstep' />\n";
echo "<input type='hidden' name='sid' value='$surveyid' id='sid' />\n";
echo "<input type='hidden' name='start_time' value='".time()."' id='start_time' />\n";
echo "<input type='hidden' name='start_time' value='".time()."' id='start_time' />\n";
echo "<input type='hidden' name='token' value='$token' id='token' />\n";
echo "<input type='hidden' name='lastgroupname' value='".htmlspecialchars(strip_tags($groupname),ENT_QUOTES,'UTF-8')."' id='lastgroupname' />\n";
echo "</form>\n";
Expand Down

0 comments on commit 6e06663

Please sign in to comment.