Skip to content

Commit

Permalink
Fixed issue #15723; 'Button Group' option in Gender question
Browse files Browse the repository at this point in the history
  • Loading branch information
thedirtypanda committed Mar 30, 2020
1 parent 726aa75 commit ec060a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/qanda_helper.php
Expand Up @@ -2984,7 +2984,7 @@ function do_gender($ia)
$mChecked = ($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$ia[1]] == 'M') ? 'CHECKED' : '';
$naChecked = '';
$aQuestionAttributes = QuestionAttribute::model()->getQuestionAttributes($ia[0]);
$displayType = $aQuestionAttributes['display_type'];
$displayType = (int) $aQuestionAttributes['display_type'];
$coreClass = "ls-answers answers-list radio-list";
if (($ia[6] != 'Y' && $ia[6] != 'S') && SHOW_NO_ANSWER == 1) {
$noAnswer = true;
Expand Down

0 comments on commit ec060a0

Please sign in to comment.