]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 29 Mar 2017 13:11:06 +0000 (13:11 +0000)
commit8dad1582c100017f8ad3e331c9a9b9cc9ed4e4d6
tree15aed4bc2cc2e6d05fe8a72efe1c7cd4a4d69434
parent1a53b49980e913c55c6f2021d21b6aa99ac8cefd
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: Kyle M Hall <kyle@bywatersolutions.com>
tools/export.pl