From 2013ca325c3656ddbe3d964c98ddfabd17c4cc50 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 3 Nov 2023 12:10:42 -0400 Subject: [PATCH] Bug 34977: (QA follow-up) Tidy code Signed-off-by: Kyle M Hall --- patron_lists/delete.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patron_lists/delete.pl b/patron_lists/delete.pl index e2b34abc90..e7c227ea1f 100755 --- a/patron_lists/delete.pl +++ b/patron_lists/delete.pl @@ -36,15 +36,15 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( } ); -my $id = $cgi->param('patron_list_id'); +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 } ); } } -- 2.34.1