https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29883 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #135462|0 |1 is obsolete| | --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 135481 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135481&action=edit Bug 29883: avoid uninitialized value warn in GetAuthorisedValues sub GetAuthorisedValues is defined with optional parameter $category but it is instantly interpolated without preventing "Use of uninitialized value $category in concatenation (.) or string at .../C4/Koha.pm line 491." warning. As category param is optional, we can avoid throwing that warn as it is something that can happen and is not an actual error: C<$category> returns authorized values for just one category (optional). Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.