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>
(cherry picked from commit 4e8d76d6f9)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
b6ecbde0a7
commit
83aa56e89c
|
|
@ -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