]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 388590: Misordered variables when calling diff_arrays from process_bug.cgi -...
authorlpsolit%gmail.com <>
Thu, 19 Jul 2007 05:18:13 +0000 (05:18 +0000)
committerlpsolit%gmail.com <>
Thu, 19 Jul 2007 05:18:13 +0000 (05:18 +0000)
process_bug.cgi

index 1ae3d42f60a560e23cce48dad4d2e4513da3f677..bedda92d4a2a531ed7ecc37386a9513891939474 100755 (executable)
@@ -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.