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 <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Marcel de Rooy 2021-11-05 07:52:55 +00:00 committed by Fridolin Somers
parent 441f57184d
commit b3dc62180b
1 changed files with 3 additions and 6 deletions

View File

@ -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",