From 44a1f28960d03b30781cf76c4cd34d9940744cfe Mon Sep 17 00:00:00 2001 From: Jason Cleeland Date: Thu, 20 May 2004 13:20:19 +0000 Subject: [PATCH] TWEAK: {NUMBEROFQUESTIONS} is replaced in template function regardless 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 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 575d30b8c00..2bf7d68b9e4 100644 --- a/index.php +++ b/index.php @@ -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) {