]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 2 Apr 2017 15:58:52 +0000 (17:58 +0200)
commit07e2f4fedc68c38d6498c61015484d9a36b85f56
tree90e2c9c3f186b89a0ef81e9682f75a57d40c08dc
parente94bf3f00f5b3e17dd01b6581093dfe1faa87aee
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>
(cherry picked from commit 8dad1582c100017f8ad3e331c9a9b9cc9ed4e4d6)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
tools/export.pl