projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 7976: Remove the borrow permission
[koha.git]
/
opac
/
opac-downloadshelf.pl
diff --git
a/opac/opac-downloadshelf.pl
b/opac/opac-downloadshelf.pl
index
fc86620
..
4a62325
100755
(executable)
--- a/
opac/opac-downloadshelf.pl
+++ b/
opac/opac-downloadshelf.pl
@@
-39,8
+39,7
@@
my ( $template, $borrowernumber, $cookie ) = get_template_and_user (
template_name => "opac-downloadshelf.tt",
query => $query,
type => "opac",
- authnotrequired => 1,
- flagsrequired => { borrow => 1 },
+ authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
}
);