From 00d4e234b9bfab0e15d9d90ce315fefe5773843c Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sun, 7 Sep 2014 21:11:45 -0400 Subject: [PATCH] Fix another mistake in NCIP::ILS::Evergreen. Forgot the {} around the arguments when creating a NCIP::Response object in acceptitem. Signed-off-by: Jason Stephenson --- lib/NCIP/ILS/Evergreen.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NCIP/ILS/Evergreen.pm b/lib/NCIP/ILS/Evergreen.pm index 70f98ea..aebe23d 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -342,7 +342,7 @@ sub acceptitem { # Common preparation. my $message = $self->parse_request_type($request); - my $response = NCIP::Response->new(type => $message . 'Response'); + my $response = NCIP::Response->new({type => $message . 'Response'}); $response->header($self->make_header($request)); # We only accept holds for the time being. -- 2.43.2