diff options
author | gerv%gerv.net <> | 2002-10-06 18:52:28 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2002-10-06 18:52:28 +0000 |
commit | b8851cdd5c15e0d21543d9fe08159b9ced8c950f (patch) | |
tree | ce1c674c28c6491d3a86e3afb182963737666e2d /showdependencygraph.cgi | |
parent | ... and also fix a bug introduced trying to unrot the general bug check rewri... (diff) | |
download | bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.gz bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.bz2 bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.zip |
Bug 163114 - Templatise all calls to DisplayError. Patch D (the last one). Patch by gerv; r=burnus.
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 021150bf0..c05911ee2 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -70,8 +70,7 @@ sub AddLink { $::FORM{'rankdir'} = "LR" if !defined $::FORM{'rankdir'}; if (!defined($::FORM{'id'}) && !defined($::FORM{'doall'})) { - DisplayError("No bug numbers given."); - exit; + ThrowCodeError("missing_bug_id"); } my $filename = "data/webdot/$$.dot"; |