summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 0c421b638..1b5b329db 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -269,9 +269,8 @@ foreach my $field ("dependson", "blocked") {
# Gather the dependency list, and make sure there are no circular refs
my %deps;
if (UserInGroup("editbugs")) {
- %deps = Bugzilla::Bug::ValidateDependencies($cgi->param('dependson'),
- $cgi->param('blocked'),
- undef);
+ %deps = Bugzilla::Bug::ValidateDependencies(scalar($cgi->param('dependson')),
+ scalar($cgi->param('blocked')));
}
# get current time