]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Sep 2020 08:09:57 +0000 (10:09 +0200)
commit647e05d8265831a09f6c624928990cfd62896b39
treef5b5a36a950d05026beb3dae9e82ed4536997c34
parent9622561636387ced932cc31e285d13cdba607c47
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>
Koha/EDI.pm