View | Details | Raw Unified | Return to bug 31143
Collapse All | Expand All

(-)a/misc/maintenance/fix_invalid_dates.pl (-1 / +10 lines)
Lines 27-32 use Koha::Script -cron; Link Here
27
use Data::Dumper;
27
use Data::Dumper;
28
use Koha::Database;
28
use Koha::Database;
29
29
30
=head1 NAME
31
32
fix_invalid_dates.pl - Fix invalid dates
33
34
=head1 DESCRIPTION
35
36
This script fixes any date fields in the database that have '0000-00-00' values (for example: dateofbirth) by updating them to 'NULL'.
37
38
=cut
39
30
my $verbose = 0;
40
my $verbose = 0;
31
my $doit    = 0;
41
my $doit    = 0;
32
42
33
- 

Return to bug 31143