projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559b22f
)
Bug 5144: Don't display the failed_holds param in the url if not needed
author
Jonathan Druart
<jonathan.druart@bugs.koha-community.org>
Tue, 6 Oct 2015 12:59:04 +0000
(13:59 +0100)
committer
Tomas Cohen Arazi
<tomascohen@theke.io>
Tue, 6 Oct 2015 13:02:06 +0000
(10:02 -0300)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-reserve.pl
patch
|
blob
|
history
diff --git
a/opac/opac-reserve.pl
b/opac/opac-reserve.pl
index
6e35c18
..
ef81b1d
100755
(executable)
--- a/
opac/opac-reserve.pl
+++ b/
opac/opac-reserve.pl
@@
-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;
}