projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 4289: 'OpacPublic' feature
[koha.git]
/
opac
/
opac-main.pl
diff --git
a/opac/opac-main.pl
b/opac/opac-main.pl
index
e0a65a9
..
177d812
100755
(executable)
--- a/
opac/opac-main.pl
+++ b/
opac/opac-main.pl
@@
-36,7
+36,7
@@
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
template_name => "opac-main.tmpl",
type => "opac",
query => $input,
- authnotrequired =>
1
,
+ authnotrequired =>
( C4::Context->preference("OpacPublic") ? 1 : 0 )
,
flagsrequired => { borrow => 1 },
}
);