diff options
author | Perl Tidy <perltidy@bugzilla.org> | 2019-01-31 20:50:06 -0500 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2019-01-31 21:02:46 -0500 |
commit | f91e240aac65936bc9dee0f926cd6f1021f48fe0 (patch) | |
tree | 596aa9893d4526e646b9a64fd6c65706c8dd3340 /showdependencygraph.cgi | |
parent | add perl-fmt script (diff) | |
download | bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.gz bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.bz2 bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.zip |
no bug - perltidy again, using the latest release
blame jeff
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index dac0c1900..666a6626e 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -108,7 +108,7 @@ if (!grep { $_ eq $rankdir } @valid_rankdirs) { $rankdir = 'TB'; } -my $display = $cgi->param('display') || 'tree'; +my $display = $cgi->param('display') || 'tree'; my $webdotdir = bz_locations()->{'webdotdir'}; my ($fh, $filename) = File::Temp::tempfile( @@ -139,8 +139,7 @@ foreach my $i (split('[\s,]+', $cgi->param('id'))) { my @stack = keys(%baselist); if ($display eq 'web') { - my $sth = $dbh->prepare( - q{SELECT blocked, dependson + my $sth = $dbh->prepare(q{SELECT blocked, dependson FROM dependencies WHERE blocked = ? OR dependson = ?} ); @@ -184,8 +183,7 @@ foreach my $k (keys(%baselist)) { $seen{$k} = 1; } -my $sth = $dbh->prepare( - q{SELECT bug_status, resolution, short_desc +my $sth = $dbh->prepare(q{SELECT bug_status, resolution, short_desc FROM bugs WHERE bugs.bug_id = ?} ); |