From 6a50ce2fa1d7d5a1662289bd31b5374beec7b00f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 9 Aug 2006 03:53:40 +0000 Subject: [PATCH] =?utf8?q?Bug=20347818:=20Cannot=20set=20Bugzilla->batch(0?= =?utf8?q?)=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla.pm b/Bugzilla.pm index a597c63690..84857041bc 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -242,7 +242,7 @@ my $_batch; sub batch { my $class = shift; my $newval = shift; - if ($newval) { + if (defined $newval) { $_batch = $newval; } return $_batch || 0; -- 2.47.3