]> git.koha-community.org Git - koha.git/commit
Bug 20556: Marking ILL request as complete..
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Tue, 10 Apr 2018 15:50:56 +0000 (16:50 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 22 May 2018 10:15:22 +0000 (10:15 +0000)
commit9c702eb2c34011ebc034bfab12e88875d4fde4cf
treede40bc1e44a20e1847f71763df7c7c76ce2df6e2
parent3fbbb423d2b8df7ba0d4b9efa9f5a0b2f2fa72a1
Bug 20556: Marking ILL request as complete..

When marking a request as complete, the status is updated internally
then the user to redirected to the view of the request.

Although the redirect header is sent, there is no exit to indicate that
the program flow should stop. As a result, an attempt is made to render
the template, which fails.

This patch simply adds the missing exit.

TEST PLAN
---------

- Create an ILL request
- "Manage request" > "Confirm request"
- "Mark completed"
- TEST: Ensure that no error is written to the error log upon clicking
"Mark completed"

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
ill/ill-requests.pl