]> git.koha-community.org Git - koha.git/commit
Bug 18312: Fix export unless a file is supplied
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Mar 2017 13:52:42 +0000 (10:52 -0300)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:20:03 +0000 (23:20 +1200)
commitb811451989414e1d5baaf2e87d5c099ae98556de
tree45d7323daf58c81706ed1869300fe4ca935c5187
parentbb0a58494bd9886d2a9fa25bd3874c3ece2dd3b0
Bug 18312: Fix export unless a file is supplied

Bug 18087 breaks export unless a file is supplied.

Can't use an undefined value as a HASH reference at
/home/vagrant/kohaclone/tools/export.pl line 75.

Test plan:
Export records using a file of id that is not a valid file (not txt or
csv)
Export records using a valid file
Export records without supplying a file

=> The export should work or fail as expected.

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mason James <mtj@kohaaloha.com>
tools/export.pl