Skip to content

Commit

Permalink
Dev fixed browse.php again: gnames block was ok, but the following qu…
Browse files Browse the repository at this point in the history
…ery was not correct.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8585 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Apr 13, 2010
1 parent 3b71bc3 commit a344070
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/browse.php
Expand Up @@ -164,7 +164,7 @@
$question .='['.$field['scale'].']';
}
$fnames[]=array($field['fieldname'],$question);
/**if ($position==1)
if ($position==1)
{
$fnames[] = array("completed", $clang->gT("Completed"), "0");
if ($surveyinfo['private'] == "N") //add token to top of list if survey is not private
Expand All @@ -175,15 +175,15 @@
$fnames[] = array("lastname", $clang->gT("Last Name"));
$fnames[] = array("email", $clang->gT("Email"));
}
}**/
}
$position++;
}

$nfncount = count($fnames)-1;
//SHOW INDIVIDUAL RECORD
$idquery = "SELECT * FROM $surveytable ";
if ($surveyinfo['private'] == "N")
$idquery .= "LEFT JOIN $tokentable ON $surveytable.token = $tokentable.tid ";
$idquery .= "LEFT JOIN $tokentable ON $surveytable.token = $tokentable.token ";
if (incompleteAnsFilterstate() == "inc")
$idquery .= " WHERE (submitdate = ".$connect->DBDate('1980-01-01'). " OR submitdate IS NULL) AND ";
elseif (incompleteAnsFilterstate() == "filter")
Expand Down

0 comments on commit a344070

Please sign in to comment.