From b3dc62180b6a66385c1c75d09a70b19faeb28287 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 5 Nov 2021 07:52:55 +0000 Subject: [PATCH] Bug 27266: (QA follow-up) Indentation in opac-sendshelf Minimal fix to improve bad indentation a bit, moving to 2 spaces. Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- opac/opac-sendshelf.pl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl index 621bca9c02..aa4eba2187 100755 --- a/opac/opac-sendshelf.pl +++ b/opac/opac-sendshelf.pl @@ -61,8 +61,7 @@ my $dbh = C4::Context->dbh; my $shelf = Koha::Virtualshelves->find( $shelfid ); if ( $shelf and $shelf->can_be_viewed( $borrowernumber ) ) { - -if ( $email ) { + if ( $email ) { my $comment = $query->param('comment'); my ( $template2, $borrowernumber, $cookie ) = get_template_and_user( @@ -180,14 +179,12 @@ END_OF_BODY ); output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; - -}else{ + } else { $template->param( shelfid => $shelfid, url => "/cgi-bin/koha/opac-sendshelf.pl", ); output_html_with_http_headers $query, $cookie, $template->output, undef, { force_no_caching => 1 }; -} - + } } else { $template->param( invalidlist => 1, url => "/cgi-bin/koha/opac-sendshelf.pl", -- 2.39.5