]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 347818: Cannot set Bugzilla->batch(0) - Patch by Frédéric Buclin <LpSolit@gmail...
authorlpsolit%gmail.com <>
Wed, 9 Aug 2006 03:49:11 +0000 (03:49 +0000)
committerlpsolit%gmail.com <>
Wed, 9 Aug 2006 03:49:11 +0000 (03:49 +0000)
Bugzilla.pm

index 3d82159377bc9317f313d47a05eb8f66b9f39f16..21a741e59a579c0635729b8ec46678c8ea873ba8 100644 (file)
@@ -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;