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

(-)a/misc/batchRebuildItemsTables.pl (-3 / +1 lines)
Lines 34-40 my $count = 0; Link Here
34
my $errorcount = 0;
34
my $errorcount = 0;
35
my $starttime  = gettimeofday;
35
my $starttime  = gettimeofday;
36
my @errors;
36
my @errors;
37
my %opt;
38
my ( $confirm, $help, $test_parameter, $where );
37
my ( $confirm, $help, $test_parameter, $where );
39
GetOptions(
38
GetOptions(
40
    'c'       => \$confirm,
39
    'c'       => \$confirm,
Lines 110-114 if ( scalar(@errors) > 0 ) { Link Here
110
109
111
sub defnonull {
110
sub defnonull {
112
    my $var = shift;
111
    my $var = shift;
113
    defined $var and $var ne "";
112
    return defined $var && $var ne q{};
114
}
113
}
115
- 

Return to bug 17447