]> git.koha-community.org Git - koha.git/commit
Bug 26536: Fix incorrectly scoped variable
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 5 Oct 2020 08:08:24 +0000 (09:08 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 15 Oct 2020 09:20:40 +0000 (11:20 +0200)
commitd4a54196f5c4fae6935df657a26bb14f4956f5d8
treec5d7ce6cf4b36aab1a8cd43b9942e8522fac5325
parentbaabaceb32b3138829d9a9bfc20e8f8a6c8abd36
Bug 26536: Fix incorrectly scoped variable

During work on bug 26076 a variable scope mistake was made when
reverting the logic to use distinct queries for selected accountlines.

This patch restores the script scope of the varaible by removing the
superflous 'my' declaration.

Test plan
1/ Add a set of manual invoices
2/ Select a subset of those manual invoices to 'Writeoff selected'
3/ Confirm that only those selected invoices have been written off.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
members/paycollect.pl