From 90f0413baa4418f6e43442396c16a22084166d67 Mon Sep 17 00:00:00 2001 From: djfiander Date: Fri, 14 Apr 2006 20:04:27 +0000 Subject: [PATCH] new ILS takes an institution configuration as input, so the name of the ILS institution is the $institution->{id} --- ILS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ILS.pm b/ILS.pm index c0a46e1..db025a1 100644 --- a/ILS.pm +++ b/ILS.pm @@ -31,7 +31,7 @@ sub new { my $type = ref($class) || $class; my $self = {}; - syslog("DEBUG", "new ILS '$institution'"); + syslog("DEBUG", "new ILS '%s'", $institution->{id}); $self->{institution} = $institution; return bless $self, $type; @@ -40,7 +40,7 @@ sub new { sub institution { my $self = shift; - return $self->{institution}; + return $self->{institution}->{id}; } sub supports { -- 2.11.0