]> git.koha-community.org Git - koha.git/commit
Bug 6782: Fix fixup_cardnumber call
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Jan 2017 09:07:46 +0000 (10:07 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 18 Jan 2017 11:47:47 +0000 (11:47 +0000)
commitc919e8bfa2fe3176096c7e4da57b81d145c48e6c
treeb718bbef078d6e3b3ed3f15e8aeeb7cc72941801
parent23cb7ca4582ea319e8890d7c4b64950eb8f5d316
Bug 6782: Fix fixup_cardnumber call

The fixup_cardnumber subroutine takes only 1 parameter, the cardnumber.
This call is wrong and morevover makes a lot of tests fail:

t/db_dependent/Letters.t .. 1/79 Can't use an undefined value as a HASH
reference at /home/vagrant/kohaclone/C4/Members.pm line 502.

This happens because the userenv is not mocked in a lot of test files.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Members.pm