Commit ec68e371 authored by Jessica Severin's avatar Jessica Severin
Browse files

changed batch_size default check to use define to allow '0' batch_size

parent 3f5d31fb
......@@ -80,7 +80,7 @@ sub status {
sub batch_size {
my $self = shift;
$self->{'_batch_size'} = shift if(@_);
$self->{'_batch_size'}=1 unless($self->{'_batch_size'});
$self->{'_batch_size'}=1 unless(defined($self->{'_batch_size'}));
return $self->{'_batch_size'};
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment