]> git.koha-community.org Git - koha.git/commit
Bug 19694: Force scalar context for output_pref called with billingdate
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Dec 2017 18:04:13 +0000 (15:04 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 10 Jan 2018 12:55:51 +0000 (12:55 +0000)
commitad550017ff7618e5e4bdb8686a88710480648864
treef6aff18d09ad2172ba3bc2a853ebaf879847f211
parent4075953c78cf044564c9215c3ea0ecc78789a9e0
Bug 19694: Force scalar context for output_pref called with billingdate

If no string is passed to output_pref, it needs to be called in scalar
context (to avoid a shift in the hash elements).
Here we have billingdate that is not defined yet (NULL)

Test plan:
- Search for an existing invoice
- Show details
- Changing shipping cost
- Save
- Verify the new amount is shown

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
acqui/invoice.pl