Skip to content

Commit

Permalink
Dev: fixed a notice dure to incorrect handling fieldnameInfo array in…
Browse files Browse the repository at this point in the history
… SESSION for type P quesitons. Not sure what other consequences it could have

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7092 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Jun 12, 2009
1 parent 47c00f4 commit 2b0a2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -2083,7 +2083,7 @@ function buildsurveysession()
if ($arow['type'] == "P")
{
$_SESSION['insertarray'][] = $fieldname.$abrow['code']."comment";
$_SESSION['fieldnamesInfo'] = array_merge($_SESSION['fieldnamesInfo'], Array($fieldname."comment" => $fieldname));
$_SESSION['fieldnamesInfo'] = array_merge($_SESSION['fieldnamesInfo'], Array($fieldname.$abrow['code']."comment" => $fieldname));
}
}
if (isset($alsoother) && $alsoother) //Add an extra field for storing "Other" answers
Expand Down

0 comments on commit 2b0a2aa

Please sign in to comment.