Bug 30920: (follow-up) Cleanup warning from C4::Biblio::GetAuthorisedValueDesc
We simply return early and empty if $value is not passed Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f716438555
commit
4e8d76d6f9
|
|
@ -1375,6 +1375,8 @@ descriptions rather than normal ones when they exist.
|
|||
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 ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue