Skip to content

Commit

Permalink
Added exception to $runthrough for results, to avoid error caused by …
Browse files Browse the repository at this point in the history
…previous bugfix.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@1045 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed May 24, 2004
1 parent c84d5f6 commit 382f25e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions admin/statistics.php
Expand Up @@ -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.
{
Expand Down

0 comments on commit 382f25e

Please sign in to comment.