Bug 4943: Search history cookie size limit
[koha.git] / opac / opac-authorities-home.pl
index 292d0a8..a87030e 100755 (executable)
@@ -152,7 +152,7 @@ else {
             template_name   => "opac-authorities-home.tmpl",
             query           => $query,
             type            => 'opac',
-            authnotrequired => 1,
+            authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
             debug           => 1,
         }
     );