X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;ds=sidebyside;f=opac%2Fopac-browser.pl;h=0e9a6326337538f32022b7a2fefed62cc4fde040;hb=3739e6bd6722af35a9f3f55af0e889036e56010e;hp=df9c3ca704062f82856daae2ba664e38cb222925;hpb=ace9aa724869d878f098c4713d013361c8c69a9b;p=koha_fer diff --git a/opac/opac-browser.pl b/opac/opac-browser.pl index df9c3ca704..0e9a632633 100755 --- a/opac/opac-browser.pl +++ b/opac/opac-browser.pl @@ -13,9 +13,9 @@ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along with -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. =head1 opac-browser.pl @@ -44,7 +44,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => "opac-browser.tmpl", query => $query, type => "opac", - authnotrequired => 1, + authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), debug => 1, } );