Skip to content

Commit

Permalink
Fix: Missing empty field
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 17, 2014
1 parent d5eb451 commit 4f206a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/core/class/extrafields.class.php
Expand Up @@ -681,6 +681,7 @@ function showInputField($key,$value,$moreparam='',$keyprefix='')
}

$out.='<select class="flat" name="options_'.$key.$keyprefix.'" id="options_'.$key.$keyprefix.'" '.($moreparam?$moreparam:'').'>';
$out.='<option value="0">&nbsp;</option>';
foreach ($param['options'] as $key=>$val )
{
list($val, $parent) = explode('|', $val);
Expand Down

0 comments on commit 4f206a2

Please sign in to comment.