From 776c0da94ac3a9cb4fc759f86e54cd360079f5ed Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 2 Dec 2009 11:57:05 +0100 Subject: [PATCH] (bug #3826) improve modrequest.pl This patch modify the redirect done by modrequest, to return to the referer page. It permit to go back to circ/circulation.pl. --- reserve/modrequest.pl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl index a88b67c115..5d4205c59b 100755 --- a/reserve/modrequest.pl +++ b/reserve/modrequest.pl @@ -68,8 +68,5 @@ else { } } my $from=$query->param('from'); -if ($from eq 'borrower'){ - print $query->redirect("/cgi-bin/koha/members/moremember.pl?borrowernumber=$borrower[0]"); - } else { - print $query->redirect("/cgi-bin/koha/reserve/request.pl?biblionumber=$biblionumber[0]"); -} + +print $query->redirect($query->referer()); -- 2.39.5