From: djfiander Date: Fri, 14 Apr 2006 20:04:27 +0000 (+0000) Subject: new ILS takes an institution configuration as input, so the name X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=90f0413baa4418f6e43442396c16a22084166d67;p=SIPServer.git new ILS takes an institution configuration as input, so the name of the ILS institution is the $institution->{id} --- 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 {