Skip to content

Commit

Permalink
Fixed Issue #11470: Setting Question To "Mandatory" after a publish d…
Browse files Browse the repository at this point in the history
…eletes the "Other" answer option

dev corrected the hidden input for other to use integer values
dev added xdebug launch.json to gitignore
  • Loading branch information
Markus Flür committed Jul 20, 2016
1 parent d7bcbfa commit 70358e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -26,4 +26,5 @@ application/config/_config.php
!index.html
!readme.txt
/tmp/runtime/URI/*.ser
/tmp/runtime/CSS/*.ser
/tmp/runtime/CSS/*.ser
launch.json
Expand Up @@ -253,7 +253,7 @@
</div>
<?php else:?>
<?php eT("Cannot be changed (survey is active)");?>
<input type='hidden' name='other' value="<?php echo $eqrow['other']; ?>" />
<input type='hidden' name='other' value="<?php echo ($eqrow['other']=='Y' ? 1 : 0); ?>" />
<?php endif;?>
</div>

Expand Down

0 comments on commit 70358e0

Please sign in to comment.