]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 18 Dec 2020 14:13:06 +0000 (14:13 +0000)
commitae2aeff7fc98b822b9f0f6f6e07347b70c94d908
tree405982760b76877ad5afe19aab463a512483efce
parent8a9553c4ae62aa05d7d3529806d8fdbac664b473
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: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
members/paycollect.pl