X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=circ%2Fwaitingreserves.pl;h=c9c9f0e921c0918bade4ea379b85acedd261d958;hb=3dfe9903a50b91551c9a49f9c1175531c0b16e15;hp=84d3b921f954ec76440234920199c1e9a31afee8;hpb=b17653355c3c6eb55b35bb983f4128c7665005dc;p=koha_gimpoz diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 84d3b921f9..c9c9f0e921 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -159,7 +159,11 @@ $template->param( ReservesMaxPickUpDelay => C4::Context->preference('ReservesMaxPickUpDelay') ); -output_html_with_http_headers $input, $cookie, $template->output; +if ($cancelall) { + print $input->redirect("/cgi-bin/koha/circ/waitingreserves.pl"); +} else { + output_html_with_http_headers $input, $cookie, $template->output; +} exit;