summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-09 05:49:11 +0200
committerlpsolit%gmail.com <>2006-08-09 05:49:11 +0200
commit3bf04a6f9d450b7fabc79ba9ca1d8d5332942adb (patch)
tree3617d1623003554ad87207acca5da12c05fbb0a2 /Bugzilla.pm
parent518a0167e08fceefbbc868a0380f80a71c6682cf (diff)
downloadbugzilla-3bf04a6f9d450b7fabc79ba9ca1d8d5332942adb.tar.gz
bugzilla-3bf04a6f9d450b7fabc79ba9ca1d8d5332942adb.tar.xz
Bug 347818: Cannot set Bugzilla->batch(0) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla.pm')
-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;