Remove generation of an unnecessary warning
We've checked the return for definedness and assigned an empty string to it ao we don't want to make it undef again This is a good argument that cascading if-elses expecially with long unstructured elses are a bad idea Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
parent
7cd47b0e84
commit
8a8358b179
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ if ( $op eq 'delete_confirm' ) {
|
|||
basketgroupname => $basket->{'basketname'});
|
||||
|
||||
}
|
||||
} elsif ($query->param('op') eq 'reopen') {
|
||||
} elsif ($op eq 'reopen') {
|
||||
my $basket;
|
||||
$basket->{basketno} = $query->param('basketno');
|
||||
$basket->{closedate} = undef;
|
||||
|
|
Loading…
Reference in a new issue