diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index ece46a33f0..bcdbf84d14 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -354,7 +354,7 @@ sub SearchAuthorities { my $thisauthtype = GetAuthType(GetAuthTypeCode($authid)); $newline{authtype} = defined ($thisauthtype) ? $thisauthtype->{'authtypetext'} : - GetAuthType($authtypecode)->{'authtypetext'}; + (GetAuthType($authtypecode) ? $_->{'authtypetext'} : ''); $newline{summary} = $summary; $newline{even} = $counter % 2; $newline{reported_tag} = $reported_tag;