summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 3d8215937..21a741e59 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -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;