Skip to content

Commit

Permalink
Fixed issue #05726: Notices when testing survey
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12332 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
tmswhite committed Feb 3, 2012
1 parent ac92c83 commit b04da88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/helpers/common_helper.php
Expand Up @@ -2686,6 +2686,10 @@ function createFieldMap($surveyid, $style='short', $force_refresh=false, $questi
$fieldmap[$fieldname]['other']=$arow['other'];
$fieldmap[$fieldname]['help']=$arow['help'];
}
else
{
--$questionSeq; // didn't generate a valid $fieldmap entry, so decrement the question counter to ensure they are sequential
}
}

if (isset($fieldmap)) {
Expand Down

0 comments on commit b04da88

Please sign in to comment.