diff options
author | terry%mozilla.org <> | 1999-05-28 03:20:57 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 1999-05-28 03:20:57 +0000 |
commit | de0f9e64490b0879a2372470113c4dbfdfa06faa (patch) | |
tree | 9d63730879f802691074211d720fe09aee602176 | |
parent | f4217d2624c5deeed8120607d23095fef03e45ca (diff) | |
download | bugs-de0f9e64490b0879a2372470113c4dbfdfa06faa.tar bugs-de0f9e64490b0879a2372470113c4dbfdfa06faa.tar.gz bugs-de0f9e64490b0879a2372470113c4dbfdfa06faa.tar.bz2 bugs-de0f9e64490b0879a2372470113c4dbfdfa06faa.tar.xz bugs-de0f9e64490b0879a2372470113c4dbfdfa06faa.zip |
Oops; was flailing if rankdir wasn't defined.
-rwxr-xr-x | showdependencygraph.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 275d73ea2..7e04259f8 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -45,6 +45,9 @@ sub AddLink { print "Content-type: text/html\n\n"; PutHeader("Dependency graph", "Dependency graph", $id); +$::FORM{'rankdir'} = "LR" if !defined $::FORM{'rankdir'}; + + if (defined $id) { ConnectToDatabase(); quietly_check_login(); @@ -150,7 +153,6 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey] $::FORM{'id'} = ""; $::FORM{'doall'} = 0; $::FORM{'showsummary'} = 0; - $::FORM{'rankdir'} = "LR"; } print " |