From: Jason Stephenson Date: Sat, 23 Aug 2014 15:38:26 +0000 (-0400) Subject: Fix an error in Evergreen.pm. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e4cb595e4f976389bc605e4d41ed05ce40a5d73f;p=NCIPServer.git Fix an error in Evergreen.pm. Signed-off-by: Jason Stephenson --- 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());