From c1ca86053ed276aa05eac8468cea61785629ac5e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 30 Jun 2008 02:57:54 +0000 Subject: Bug 440612 – Use Bugzilla::Bug->check everywhere instead of ValidateBugID Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- showdependencygraph.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index f7977446e..327f73c9d 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -135,8 +135,8 @@ if ($display eq 'doall') { } } else { foreach my $i (split('[\s,]+', $cgi->param('id'))) { - ValidateBugID($i); - $baselist{$i} = 1; + my $bug = Bugzilla::Bug->check($i); + $baselist{$bug->id} = 1; } my @stack = keys(%baselist); -- cgit v1.2.3-24-g4f1b