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 {
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 "
......
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