From ab52b1f3ac03ad4b68ac4ab7fa29e32c5efe39b9 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 4 May 2018 12:30:55 -0300 Subject: [PATCH] Bug 20284: Fix minor compilation errors Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- opac/opac-illrequests.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl index 1566118e2c..002b60f8f1 100755 --- a/opac/opac-illrequests.pl +++ b/opac/opac-illrequests.pl @@ -86,8 +86,8 @@ if ( $op eq 'list' ) { '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' . $params->{illrequest_id} . '&message=1' - exit; ); + exit; } elsif ( $op eq 'cancreq') { my $request = Koha::Illrequests->find({ borrowernumber => $loggedinuser, @@ -98,9 +98,8 @@ if ( $op eq 'list' ) { '/cgi-bin/koha/opac-illrequests.pl?method=view&illrequest_id=' . $params->{illrequest_id} . '&message=1' - exit; ); - + exit; } elsif ( $op eq 'create' ) { if (!$params->{backend}) { my $req = Koha::Illrequest->new; @@ -138,7 +137,7 @@ if ( $op eq 'list' ) { $template->param( message => $params->{message}, illrequestsview => 1, - method => $op + method => $op ); output_html_with_http_headers $query, $cookie, $template->output; -- 2.39.5