Bug 31143: (follow-up) Add description to fix_invalid_dates.pl
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit769b394292) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit4bb4a27fcb) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
ac87605e5a
commit
cbefc71e38
|
|
@ -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