Lines 300-307
sub SearchAuthorities {
Link Here
|
300 |
} |
300 |
} |
301 |
} |
301 |
} |
302 |
|
302 |
|
303 |
my $thisauthtypecode = Koha::Authorities->find($authid)->authtypecode; |
303 |
my ( $thisauthtype, $thisauthtypecode ); |
304 |
my $thisauthtype = Koha::Authority::Types->find($thisauthtypecode); |
304 |
if ( my $authority = Koha::Authorities->find($authid) ) { |
|
|
305 |
$thisauthtypecode = $authority->authtypecode; |
306 |
$thisauthtype = Koha::Authority::Types->find($thisauthtypecode); |
307 |
} |
305 |
unless (defined $thisauthtype) { |
308 |
unless (defined $thisauthtype) { |
306 |
$thisauthtypecode = $authtypecode; |
309 |
$thisauthtypecode = $authtypecode; |
307 |
$thisauthtype = Koha::Authority::Types->find($thisauthtypecode); |
310 |
$thisauthtype = Koha::Authority::Types->find($thisauthtypecode); |
308 |
- |
|
|