Skip to content

Commit

Permalink
TWEAK: {NUMBEROFQUESTIONS} is replaced in template function regardles…
Browse files Browse the repository at this point in the history
…s of how many questions are asked (for backwards compatability)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1038 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 20, 2004
1 parent ecf7582 commit 44a1f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -311,8 +311,8 @@ function templatereplace($line)
else
{
$line=str_replace("{THEREAREXQUESTIONS}", _THEREAREXQUESTIONS, $line); //Note this line MUST be before {NUMBEROFQUESTIONS}
$line=str_replace("{NUMBEROFQUESTIONS}", $totalquestions, $line);
}
$line=str_replace("{NUMBEROFQUESTIONS}", $totalquestions, $line);
$line=str_replace("{TOKEN}", $token, $line);
$line=str_replace("{SID}", $sid, $line);
if ($help) {
Expand Down

0 comments on commit 44a1f28

Please sign in to comment.