From 382f25e145fb6ae6e6d51305653d82d28aba672e Mon Sep 17 00:00:00 2001 From: Jason Cleeland Date: Mon, 24 May 2004 06:39:28 +0000 Subject: [PATCH] Added exception to $runthrough for results, to avoid error caused by previous bugfix. git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1045 b72ed6b6-b9f8-46b5-92b4-906544132732 --- admin/statistics.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/statistics.php b/admin/statistics.php index 9cd82fcb579..c27d22b5b88 100644 --- a/admin/statistics.php +++ b/admin/statistics.php @@ -683,6 +683,10 @@ foreach ($runthrough as $rt) { + if (substr($rt, 0, 1) == "N" && (substr($rt, -1) == "G" || substr($rt, -1) == "L")) + { //Exception for numerical types + break; + } // 1. Get answers for question ############################################################## if (substr($rt, 0, 1) == "M") //MULTIPLE OPTION, THEREFORE MULTIPLE FIELDS. {