From a27fae02f1b1b64c104f627b9521ce332117fc43 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 19 Jul 2007 05:18:13 +0000 Subject: [PATCH] =?utf8?q?Bug=20388590:=20Misordered=20variables=20when=20?= =?utf8?q?calling=20diff=5Farrays=20from=20process=5Fbug.cgi=20-=20Patch?= =?utf8?q?=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dtimeless=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process_bug.cgi b/process_bug.cgi index 1ae3d42f60..bedda92d4a 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -197,7 +197,7 @@ foreach my $field ("dependson", "blocked") { push @new, $id; } $cgi->param($field, join(",", @new)); - my ($added, $removed) = Bugzilla::Util::diff_arrays(\@old, \@new); + my ($removed, $added) = diff_arrays(\@old, \@new); foreach my $id (@$added , @$removed) { # ValidateBugID is called without $field here so that it will # throw an error if any of the changed bugs are not visible. -- 2.47.2