diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-11-12 18:46:48 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-11-12 18:46:48 +0100 |
commit | 2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461 (patch) | |
tree | 0267c67f18e8099384bc7ae15f58a4459ed71f63 /showdependencygraph.cgi | |
parent | 34a9d58c4ab24390a21595edc08442651cfbe312 (diff) | |
download | bugzilla-2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461.tar.gz bugzilla-2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461.tar.xz |
Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is not triggered by the code itself
r=glob a=LpSolit
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. |