corrected a problem with RadioList.pm - where no default value was set, and the form was submitted without selecting one of the radio buttons, getValueFromPost would have returned an empty arrayref.
This commit is contained in:
parent
590fb186c9
commit
23a9a8761b
1 changed files with 3 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ sub definition {
|
|||
profileEnabled=>{
|
||||
defaultValue=>1
|
||||
},
|
||||
defaultValue>{
|
||||
defaultValue=>''
|
||||
},
|
||||
});
|
||||
return $class->SUPER::definition($session, $definition);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue