From cb81cbf6b8075692265c1f7f86ca6683fa1078cc 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 --- 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.17.0