|
Lines 302-308
sub SearchAuthorities {
Link Here
|
| 302 |
} |
302 |
} |
| 303 |
} |
303 |
} |
| 304 |
|
304 |
|
| 305 |
my $thisauthtypecode = Koha::Authorities->find($authid)->authtypecode; |
305 |
my $authority = Koha::Authorities->find($authid); |
|
|
306 |
unless ( $authority ) { |
| 307 |
# The authority does not exist in the DB: Zebra's index is outdated |
| 308 |
$counter++; |
| 309 |
next; |
| 310 |
} |
| 311 |
my $thisauthtypecode = $authority->authtypecode; |
| 306 |
my $thisauthtype = Koha::Authority::Types->find($thisauthtypecode); |
312 |
my $thisauthtype = Koha::Authority::Types->find($thisauthtypecode); |
| 307 |
unless (defined $thisauthtype) { |
313 |
unless (defined $thisauthtype) { |
| 308 |
$thisauthtypecode = $authtypecode; |
314 |
$thisauthtypecode = $authtypecode; |
| 309 |
- |
|
|