Bug 6720 follow-up: fix error when auth has been deleted
Thanks to Paul Poulain for finding the problem and proposing a solution. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
049d13e24d
commit
983012d5b8
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue