From e4cb595e4f976389bc605e4d41ed05ce40a5d73f Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Sat, 23 Aug 2014 11:38:26 -0400 Subject: [PATCH] Fix an error in Evergreen.pm. 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 bcdfe8c..61c7c0f 100644 --- a/lib/NCIP/ILS/Evergreen.pm +++ b/lib/NCIP/ILS/Evergreen.pm @@ -170,7 +170,7 @@ sub lookupuser { # First, we'll look for name information. if (grep {$_ eq 'Name Information'} @$elements) { my $name = NCIP::StructuredPersonalUserName->new(); - $name->Surname($user->given_name()); + $name->Surname($user->family_name()); $name->GivenName($user->first_given_name()); $name->Prefix($user->prefix()); $name->Suffix($user->suffix()); -- 2.11.0