Commit 3bf04a6f authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 347818: Cannot set Bugzilla->batch(0) - Patch by Frédéric Buclin…

Bug 347818: Cannot set Bugzilla->batch(0) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
parent 518a0167
...@@ -266,7 +266,7 @@ sub dbh { ...@@ -266,7 +266,7 @@ sub dbh {
sub batch { sub batch {
my $class = shift; my $class = shift;
my $newval = shift; my $newval = shift;
if ($newval) { if (defined $newval) {
request_cache()->{batch} = $newval; request_cache()->{batch} = $newval;
} }
return request_cache()->{batch} || 0; return request_cache()->{batch} || 0;
......
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