Skip to content

Commit

Permalink
fixed small mistake
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2477 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
David Olivier committed Mar 1, 2007
1 parent 8758df8 commit de9c3a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -1960,7 +1960,7 @@ function templatereplace($line)
$registerform .= " value='".returnglobal('register_email')."'";
}
$registerform .= " /></td></tr>\n";
if (!isset($_GET['lang']) || !isset($_POST['lang'])) $reglang = GetBaseLanguageFromSurveyID($surveyid);
if (!isset($_GET['lang']) && !isset($_POST['lang'])) $reglang = GetBaseLanguageFromSurveyID($surveyid);
if (isset($_GET['lang'])) $reglang = $_GET['lang'];
if (isset($_POST['lang'])) $reglang = $_POST['lang'];
$registerform .= "<tr><td align='right'>".$clang->gT("Security Question").":</td><td><table><tr><td valign='center'><img src='images/verification.php'></td><td valign='center'><input type='text' size='5' maxlength='3' name='loadsecurity' value=''></td></tr></table></td></tr>\n"
Expand Down

0 comments on commit de9c3a1

Please sign in to comment.