]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 226411: Fixed the indentation issue mentioned in bug comments but forgotten on...
authorjouni%heikniemi.net <>
Thu, 13 May 2004 14:17:43 +0000 (14:17 +0000)
committerjouni%heikniemi.net <>
Thu, 13 May 2004 14:17:43 +0000 (14:17 +0000)
globals.pl

index 7439940c350b1fc22f40de2374b901ff13d70f77..7c1c9eb93791876afbc5baa0a0db3aea057cd02e 100644 (file)
@@ -1409,12 +1409,12 @@ sub DiffStrings {
     # that were removed; @new contains ones that got added.
 
     foreach my $oldv (@old) {
-      foreach my $newv (@new) {
-        next if ($newv eq '');
-        if ($oldv eq $newv) {
-          $newv = $oldv = '';
+        foreach my $newv (@new) {
+            next if ($newv eq '');
+            if ($oldv eq $newv) {
+                $newv = $oldv = '';
+            }
         }
-      }
     }
     my $removed = join (", ", grep { $_ ne '' } @old);
     my $added = join (", ", grep { $_ ne '' } @new);