[Koha-patches] [PATCH] Bug #6134 - rename ILS-DI:Authorized_IPs
Alex Arnaud
alex.arnaud at biblibre.com
Fri Apr 8 10:52:50 CEST 2011
---
opac/ilsdi.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl
index 56058f0..f084535 100755
--- a/opac/ilsdi.pl
+++ b/opac/ilsdi.pl
@@ -152,7 +152,7 @@ unless ( C4::Context->preference('ILS-DI') ) {
}
# If the remote address is not allowed, redirect to 403
-my @AuthorizedIPs = split(/,/, C4::Context->preference('ILS-DI:AuthorizedIPs'));
+my @AuthorizedIPs = split( /,/, C4::Context->preference('ILS-DI:Authorized_IPs') );
if ( @AuthorizedIPs # If no filter set, allow access to everybody
and not any { $ENV{'REMOTE_ADDR'} eq $_ } @AuthorizedIPs # IP Check
) {
--
1.6.3.3
More information about the Koha-patches
mailing list