summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-13 21:35:12 +0200
committerlpsolit%gmail.com <>2005-08-13 21:35:12 +0200
commit9ab537a54529b0444df941fed04565bd1f1a32b2 (patch)
treefd5a027e2f78fa0b972b51ae1c39057932f81a50 /post_bug.cgi
parentdddc17ec8b38d7f90b7be7d9fd6ab9629077f3df (diff)
downloadbugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.gz
bugzilla-9ab537a54529b0444df941fed04565bd1f1a32b2.tar.xz
Bug 304044: Missing scalar() for some parameters - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
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