We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f33c19d commit c17d9aaCopy full SHA for c17d9aa
t/Asset/EMSSubmissionForm.t
@@ -432,10 +432,10 @@ my $expected = {
432
},
433
'description' => undef,
434
'_isValid' => 1,
435
- 'deleteCreatedItems' => undef,
+ 'deleteCreatedItems' => 0,
436
'canSubmitGroupId' => '2',
437
'assetId' => 'new',
438
- 'url' => undef,
+ 'url' => '',
439
'daysBeforeCleanup' => '7',
440
'title' => 'Untitled',
441
} ;
t/lib/WebGUI/PseudoRequest.pm
@@ -87,7 +87,7 @@ sub body {
87
return keys %{ $self->{body} } if wantarray;
88
return { %{ $self->{body} } };
89
}
90
- if ($self->{body}->{$value}) {
+ if (defined $self->{body}->{$value}) {
91
if (wantarray && ref $self->{body}->{$value} eq "ARRAY") {
92
return @{$self->{body}->{$value}};
93
0 commit comments