From 9ab537a54529b0444df941fed04565bd1f1a32b2 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 13 Aug 2005 19:35:12 +0000 Subject: Bug 304044: Missing scalar() for some parameters - Patch by Frédéric Buclin r=mkanat a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post_bug.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'post_bug.cgi') 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 -- cgit v1.2.3-24-g4f1b