Skip to content

Commit

Permalink
Dev: blind fix for notice described in #3019
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@7086 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Jun 12, 2009
1 parent e4061fd commit 9ab57d1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.php
Expand Up @@ -1001,7 +1001,14 @@ function checkconfield($value)
// and we want to compare it to the values stored in $_SESSION['fieldarray'] which are simple fieldnames
// ==> We first translate $value to the simple fieldname (let's call it the masterFieldName) from
// the $_SESSION['fieldnamesInfo'] translation table
$masterFieldName = $_SESSION['fieldnamesInfo'][$value];
if ($value != 'token')
{
$masterFieldName = $_SESSION['fieldnamesInfo'][$value];
}
else
{
$masterFieldName = 'token';
}

if ($sfa[1] == $masterFieldName && $sfa[7] == "Y" && isset($_SESSION[$value]) && $_SESSION[$value]) //Do this if there is a condition based on this answer
{
Expand Down

0 comments on commit 9ab57d1

Please sign in to comment.