diff options
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 67faced19..2f10551a1 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -81,7 +81,7 @@ sub AddLink { } } -ThrowCodeError("missing_bug_id") if !defined $cgi->param('id'); +ThrowUserError("missing_bug_id") unless $cgi->param('id'); # The list of valid directions. Some are not proposed in the dropdrown # menu despite the fact that they are valid. |