]> git.koha-community.org Git - koha.git/commit
Bug 27586: Import patrons script has a confirm switch that doesn't nothing!
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 1 Feb 2021 18:22:58 +0000 (13:22 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Feb 2021 13:55:59 +0000 (14:55 +0100)
commitd3005a2a4c493c624ffd6204f6fccc83ea350361
tree8202b128cbbfc2ff678d6a5c0cce77bc98cff1ab
parentbab6a08ac98c1e6a72b346d554f020c0943e243d
Bug 27586: Import patrons script has a confirm switch that doesn't nothing!

If the script misc/import_patrons.pl is run without "--confirm" it reports
that it is "running in dry-run mode" but it is not!

Test Plan:
1) Import a CSV of patrons using import_patrons.pm *without* the --confirm parameter
2) Note that it does actually import the patrons
3) Apply this patch
4) Note that this time the patrons are not actually imported
5) Import again with --confirm
6) Note that the patrons were actually imported this time!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patrons/Import.pm
misc/import_patrons.pl