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 {
sub batch {
my $class = shift;
my $newval = shift;
if ($newval) {
if (defined $newval) {
request_cache()->{batch} = $newval;
}
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