From: lpsolit%gmail.com <> Date: Thu, 19 Jul 2007 05:18:13 +0000 (+0000) Subject: Bug 388590: Misordered variables when calling diff_arrays from process_bug.cgi -... X-Git-Tag: bugzilla-3.0.1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27fae02f1b1b64c104f627b9521ce332117fc43;p=thirdparty%2Fbugzilla.git Bug 388590: Misordered variables when calling diff_arrays from process_bug.cgi - Patch by Frédéric Buclin r=timeless a=LpSolit --- 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.