Skip to content

Commit

Permalink
fix(urgencyfield): obey empty_value_setting
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Aug 20, 2021
1 parent 38666d2 commit 91f14eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/field/urgencyfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getRenderedHtml($domain, $canEdit = true): string {
'comments' => false,
'rand' => $rand,
'display' => false,
'display_emptychoice' => true,
'display_emptychoice' => $this->question->fields['show_empty'] == 1,
]);
$html .= PHP_EOL;
$html .= Html::scriptBlock("$(function() {
Expand Down

0 comments on commit 91f14eb

Please sign in to comment.