From: justdave%syndicomm.com <> Date: Sun, 26 Oct 2003 13:39:18 +0000 (+0000) Subject: Bug 201294: showdependencygraph.cgi now uses the global IsOpenedState() sub instead... X-Git-Tag: bugzilla-2.17.5~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4910d452748f49e707ff9d2650cd6eece784b62d;p=thirdparty%2Fbugzilla.git Bug 201294: showdependencygraph.cgi now uses the global IsOpenedState() sub instead of its own list of which states are open. This makes one less place to customize when sites change their statuses, and also includes UNCONFIRMED (which never got added when UNCONFIRMED was created). r= gerv, a= justdave --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index b035abad48..d13f77c5db 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -160,7 +160,7 @@ foreach my $k (keys(%seen)) { push(@params, "shape=box"); } - if ($stat =~ /^(NEW|ASSIGNED|REOPENED)$/) { + if (IsOpenedState($stat)) { push(@params, "color=green"); }