Skip to content

Commit

Permalink
Fixed issue: Captcha not properly working with short URLs and registr…
Browse files Browse the repository at this point in the history
…ation

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8814 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jun 8, 2010
1 parent 982c759 commit caa3ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -3106,7 +3106,7 @@ function templatereplace($line, $replacements=array())
if (strpos($line, "{REGISTERMESSAGE2}") !== false) $line=str_replace("{REGISTERMESSAGE2}", $clang->gT("You may register for this survey if you wish to take part.")."<br />\n".$clang->gT("Enter your details below, and an email containing the link to participate in this survey will be sent immediately."), $line);
if (strpos($line, "{REGISTERFORM}") !== false)
{
$registerform="<form method='post' action='register.php'>\n"
$registerform="<form method='post' action='{$publicurl}/register.php'>\n"
."<table class='register' summary='Registrationform'>\n"
."<tr><td align='right'>"
."<input type='hidden' name='sid' value='$surveyid' id='sid' />\n"
Expand Down

0 comments on commit caa3ef8

Please sign in to comment.