Bug 24361: Silent Items/GetItemsForInventory.t
It was displaying hundreds of: Use of uninitialized value in concatenation (.) or string at /kohadevbox/koha/C4/Items.pm line 862. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
531c5baaee
commit
f2b1086387
1 changed files with 5 additions and 1 deletions
|
@ -859,7 +859,11 @@ sub GetItemsForInventory {
|
||||||
|
|
||||||
# Auth values
|
# Auth values
|
||||||
foreach (keys %$row) {
|
foreach (keys %$row) {
|
||||||
if (defined($avmapping->{"items.$_,".$row->{'frameworkcode'}.",".$row->{$_}})) {
|
if (
|
||||||
|
defined(
|
||||||
|
$avmapping->{ "items.$_," . $row->{'frameworkcode'} . "," . ( $row->{$_} // q{} ) }
|
||||||
|
)
|
||||||
|
) {
|
||||||
$row->{$_} = $avmapping->{"items.$_,".$row->{'frameworkcode'}.",".$row->{$_}};
|
$row->{$_} = $avmapping->{"items.$_,".$row->{'frameworkcode'}.",".$row->{$_}};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue