]> git.koha-community.org Git - koha.git/commit
Bug 26438: Rename temporary Koha::Item variables to avoid conflict
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 11 Sep 2020 17:16:28 +0000 (18:16 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 16 Oct 2020 16:15:27 +0000 (16:15 +0000)
commitdc94e57b9620116a889b39eef700ace2f42b8664
tree47bda5110e95574c8d251fcdbb25e796c1e05394
parent276602aadbdb27cbec780c9564b93ccd0c1961b6
Bug 26438: Rename temporary Koha::Item variables to avoid conflict

Returns from Koha::Item calls were stored in temporary variables
called $item. Unfortunately they occur in routines already with
an $item variable holding a lineitem and hide that variable although
only required for two lines of code. An error occurs if girfield
is called on the wrong variable. Renamed all three occurences
of $item to $kitem to avoid the error

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 647e05d8265831a09f6c624928990cfd62896b39)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/EDI.pm