(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.
This commit is contained in:
Nahuel ANGELINETTI 2009-12-02 11:57:05 +01:00 committed by Henri-Damien LAURENT
parent 4149747ea5
commit 776c0da94a
1 changed files with 2 additions and 5 deletions

View File

@ -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());