[Koha-bugs] [Bug 32462] Warning in Koha::Item->columns_to_str
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 14 10:30:27 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32462
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart+koha at gmail.
| |com
--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
This change could work.
diff --git a/Koha/Item.pm b/Koha/Item.pm
index e508e7eb55c..f431f739b4f 100644
--- a/Koha/Item.pm
+++ b/Koha/Item.pm
@@ -1107,7 +1107,7 @@ sub columns_to_str {
}
while ( my ( $k, $v ) = each %$more_values ) {
- $values->{$k} = join ' | ', @$v;
+ $values->{$k} = join ' | ', map { defined $_ ? $_ : q{} } @$v;
}
}
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list