sub GetAuthorisedValueDesc {
my ( $tag, $subfield, $value, $framework, $tagslib, $category, $opac ) = @_;
+ return q{} unless defined($value);
+
my $cache = Koha::Caches->get_instance();
my $cache_key;
if ( !$category ) {
}
if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "cn_source" ) {
- $cache_key = "ClassSources";
+ $cache_key = "cn_sources:description";
my $cn_sources = $cache->get_from_cache( $cache_key, { unsafe => 1 } );
if ( !$cn_sources ) {
$cn_sources = {