Bug 16378: Overdues.pm: Can't call method "store" without a package or object reference
authorMarc Véron <veron@veron.ch>
Thu, 28 Apr 2016 09:47:57 +0000 (11:47 +0200)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Thu, 28 Apr 2016 23:23:20 +0000 (23:23 +0000)
commit4fb754d3378adac7b9a1e40a0d83df2a7e5c2006
treef1c2d80df65155649e006dbb2081ad800fdf309c
parenta63a51381b837343eb13a2f719d797fec4937cfa
Bug 16378: Overdues.pm: Can't call method "store" without a package or object reference

Overdues.pm line 588 tries to do an $accountline->set with column outstanding
instead of amountoutstanding.
This patch fixes it.

To test:
- Verify that code change is correct.
- Try to trigger a situation where an existing fine is updated
  (see comment in line 574 in C4/Overdues.pm)

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
C4/Overdues.pm