Skip to content

Commit

Permalink
Fixed bug #881: Error Message after submitting Survey
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2846 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed May 4, 2007
1 parent 92c3bda commit ab29974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -1327,12 +1327,12 @@ function returnquestiontitlefromfieldcode($fieldcode)
// Performance Improvement : 37%
// Optimized By : swales

global $dbprefix, $surveyid, $connect, $clang;
if (!isset($fieldcode)) {return $clang->gT("Preset");}
if ($fieldcode == "token") {return $clang->gT("Token");}
if ($fieldcode == "datestamp") {return $clang->gT("Date Stamp");}
if ($fieldcode == "ipaddr") {return $clang->gT("IP Address");}
if ($fieldcode == "refurl") {return $clang->gT("Referring URL");}
global $dbprefix, $surveyid, $connect;

//Find matching information;
$details=arraySearchByKey($fieldcode, createFieldMap($surveyid), "fieldname", 1);
Expand Down

0 comments on commit ab29974

Please sign in to comment.