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

(-)a/tools/batchMod.pl (-2 / +2 lines)
Lines 123-135 if ($op eq "action") { Link Here
123
123
124
    # Clear the fields we are not editing, leave fields we are blanking
124
    # Clear the fields we are not editing, leave fields we are blanking
125
    foreach( my $i = 0; $i < scalar @values; $i++ ){
125
    foreach( my $i = 0; $i < scalar @values; $i++ ){
126
        unless( $values[$i] || $searches[$i] || grep { $subfields[$i] } @disabled ){
126
        unless( $values[$i] ne q{} || $searches[$i] ne q{}  || grep { $subfields[$i] } @disabled ){
127
            splice(@values,$i,1);
127
            splice(@values,$i,1);
128
            splice(@subfields,$i,1);
128
            splice(@subfields,$i,1);
129
            splice(@tags,$i,1);
129
            splice(@tags,$i,1);
130
            splice(@searches,$i,1);
130
            splice(@searches,$i,1);
131
            splice(@replaces,$i,1);
131
            splice(@replaces,$i,1);
132
            splice(@modifiers,$i,1);
132
            splice(@modifiers,$i,1);
133
            $i--; # We made the arrays smaller - go back a step in interation
133
        }
134
        }
134
    }
135
    }
135
136
136
- 

Return to bug 28832