bugfix, array refs that contain undef are true. Default values not properly set
This commit is contained in:
parent
2e25c5b498
commit
f6ffdeb148
3 changed files with 4 additions and 4 deletions
|
|
@ -719,7 +719,7 @@ sub www_editField {
|
|||
-name=>"tid",
|
||||
-options=>$tab,
|
||||
-label=>WebGUI::International::get(104,"Asset_DataForm"),
|
||||
-value=>[ $field{DataForm_tabId}] || [0]
|
||||
-value=>[ $field{DataForm_tabId} || 0 ]
|
||||
);
|
||||
$f->text(
|
||||
-name=>"subtext",
|
||||
|
|
@ -730,7 +730,7 @@ sub www_editField {
|
|||
-name=>"status",
|
||||
-options=>\%fieldStatus,
|
||||
-label=>WebGUI::International::get(22,"Asset_DataForm"),
|
||||
-value=>[ $field{status} ] || [ "editable" ]
|
||||
-value=> [ $field{status} || "editable" ] ),
|
||||
);
|
||||
$f->fieldType(
|
||||
-name=>"type",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue