From 3bf04a6f9d450b7fabc79ba9ca1d8d5332942adb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 9 Aug 2006 03:49:11 +0000 Subject: =?UTF-8?q?Bug=20347818:=20Cannot=20set=20Bugzilla->batch(0)=20-?= =?UTF-8?q?=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla.pm') 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; -- cgit v1.2.1