Lines 316-321
sub build_authorized_values_list {
Link Here
|
316 |
} |
316 |
} |
317 |
elsif ( $category eq "itemtypes" ) { |
317 |
elsif ( $category eq "itemtypes" ) { |
318 |
push @authorised_values, ""; |
318 |
push @authorised_values, ""; |
|
|
319 |
$authorised_category{""} = $category; |
319 |
|
320 |
|
320 |
my $itemtype; |
321 |
my $itemtype; |
321 |
my $itemtypes = Koha::ItemTypes->search_with_localization; |
322 |
my $itemtypes = Koha::ItemTypes->search_with_localization; |
Lines 328-333
sub build_authorized_values_list {
Link Here
|
328 |
} |
329 |
} |
329 |
elsif ( $category eq "cn_source" ) { |
330 |
elsif ( $category eq "cn_source" ) { |
330 |
push @authorised_values, ""; |
331 |
push @authorised_values, ""; |
|
|
332 |
$authorised_category{""} = $category; |
331 |
|
333 |
|
332 |
my $class_sources = GetClassSources(); |
334 |
my $class_sources = GetClassSources(); |
333 |
|
335 |
|
Lines 360-365
sub build_authorized_values_list {
Link Here
|
360 |
); |
362 |
); |
361 |
|
363 |
|
362 |
push @authorised_values, ""; |
364 |
push @authorised_values, ""; |
|
|
365 |
$authorised_category{""} = $category; |
363 |
|
366 |
|
364 |
while ( my ( $value, $lib, $this_category ) = $authorised_values_sth->fetchrow_array ) { |
367 |
while ( my ( $value, $lib, $this_category ) = $authorised_values_sth->fetchrow_array ) { |
365 |
push @authorised_values, $value; |
368 |
push @authorised_values, $value; |