Bug 5144: Don't display the failed_holds param in the url if not needed
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
559b22f6a9
commit
011f439740
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ if ( $query->param('place_reserve') ) {
|
|||
}
|
||||
}
|
||||
|
||||
print $query->redirect("/cgi-bin/koha/opac-user.pl?failed_holds=$failed_holds#opac-user-holds");
|
||||
print $query->redirect("/cgi-bin/koha/opac-user.pl?" . ( $failed_holds ? "failed_holds=$failed_holds" : q|| ) . "#opac-user-holds");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue