Index: common.php =================================================================== --- common.php (revision 8556) +++ common.php (working copy) @@ -2255,8 +2255,15 @@ } $counter=0; + $fieldmap[$counter]=array("fieldname"=>"submitdate", "type"=>"submitdate", "sid"=>$surveyid, "gid"=>"", "qid"=>"", "aid"=>""); + if ($style == "full") + { + $fieldmap[$counter]['title']=""; + $fieldmap[$counter]['question']=$clang->gT("Date submitted"); + $fieldmap[$counter]['group_name']=""; + } + $counter++; - $fieldmap[$counter]=array("fieldname"=>"id", "sid"=>$surveyid, "type"=>"id", "gid"=>"", "qid"=>"", "aid"=>""); if ($style == "full") { @@ -2329,19 +2336,7 @@ $fieldmap[$counter]['group_name']=""; } $counter++; - $fieldmap[$counter]=array("fieldname"=>"submitdate", - "type"=>"submitdate", - "sid"=>$surveyid, - "gid"=>"", - "qid"=>"", - "aid"=>""); - if ($style == "full") - { - $fieldmap[$counter]['title']=""; - $fieldmap[$counter]['question']=$clang->gT("Date submitted"); - $fieldmap[$counter]['group_name']=""; - } - $counter++; + } if ($prow['ipaddr'] == "Y") {