Bug 31143: (follow-up) Add description to fix_invalid_dates.pl
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 769b394292)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
c90b470c3e
commit
4bb4a27fcb
|
|
@ -27,6 +27,16 @@ use Koha::Script -cron;
|
|||
use Data::Dumper;
|
||||
use Koha::Database;
|
||||
|
||||
=head1 NAME
|
||||
|
||||
fix_invalid_dates.pl - Fix invalid dates
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
This script fixes any date fields in the database that have '0000-00-00' values (for example: dateofbirth) by updating them to 'NULL'.
|
||||
|
||||
=cut
|
||||
|
||||
my $verbose = 0;
|
||||
my $doit = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue