Commit e79e71c7 authored by tara%tequilarista.org's avatar tara%tequilarista.org

Landing Jon Robertson's for bug #41915

parent 48aa7f6a
......@@ -423,7 +423,11 @@ if ($action eq 'new') {
unlink "data/versioncache";
print "OK, done.<p>\n";
PutTrailer($localtrailer);
if ($product) {
PutTrailer("<A HREF=\"editcomponents.cgi?product=" . url_quote($product) . "\">edit</A> more components or <A HREF=\"editcomponents.cgi?product=". url_quote($product) . "&action=add\">Add</A> another component");
} else {
PutTrailer("<A HREF=\"editcomponents.cgi\">edit</A> more components or <A HREF=\"editcomponents.cgi?action=add\">Add</A> another component");
}
exit;
}
......
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