Commit de0f9e64 authored by terry%mozilla.org's avatar terry%mozilla.org

Oops; was flailing if rankdir wasn't defined.

parent f4217d26
...@@ -45,6 +45,9 @@ sub AddLink { ...@@ -45,6 +45,9 @@ sub AddLink {
print "Content-type: text/html\n\n"; print "Content-type: text/html\n\n";
PutHeader("Dependency graph", "Dependency graph", $id); PutHeader("Dependency graph", "Dependency graph", $id);
$::FORM{'rankdir'} = "LR" if !defined $::FORM{'rankdir'};
if (defined $id) { if (defined $id) {
ConnectToDatabase(); ConnectToDatabase();
quietly_check_login(); quietly_check_login();
...@@ -150,7 +153,6 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey] ...@@ -150,7 +153,6 @@ node [URL="${urlbase}show_bug.cgi?id=\\N", style=filled, color=lightgrey]
$::FORM{'id'} = ""; $::FORM{'id'} = "";
$::FORM{'doall'} = 0; $::FORM{'doall'} = 0;
$::FORM{'showsummary'} = 0; $::FORM{'showsummary'} = 0;
$::FORM{'rankdir'} = "LR";
} }
print " print "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment