Bug 34977: (QA follow-up) Tidy code
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
c018a9de48
commit
07a4446f2f
1 changed files with 7 additions and 7 deletions
|
@ -39,12 +39,12 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
my $id = $cgi->param('patron_list_id');
|
||||
my @lists_ids = $cgi->multi_param('patron_lists_ids');
|
||||
|
||||
if (defined $id && $id ne '') {
|
||||
DelPatronList({ patron_list_id => $id });
|
||||
if ( defined $id && $id ne '' ) {
|
||||
DelPatronList( { patron_list_id => $id } );
|
||||
}
|
||||
if (@lists_ids) {
|
||||
foreach my $list_id (@lists_ids) {
|
||||
DelPatronList({ patron_list_id => $list_id });
|
||||
DelPatronList( { patron_list_id => $list_id } );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue