]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Made dupe table populating code not break on multi-line dupe comments. Thanks to...
authorgerv%gerv.net <>
Thu, 22 Feb 2001 22:05:34 +0000 (22:05 +0000)
committergerv%gerv.net <>
Thu, 22 Feb 2001 22:05:34 +0000 (22:05 +0000)
checksetup.pl

index 3e5eab24473f2ca10671eaa08db6d6e89c650ef1..8b8054081086f9105b220076c9be6b6d60d1743f 100755 (executable)
@@ -1960,7 +1960,7 @@ if (!($sth->fetchrow_arrayref()->[0])) {
 
        foreach $key (keys(%dupes))
        {
-               $dupes{$key} =~ s/.*This bug has been marked as a duplicate of (\d{1,5}).*/$1/;
+               $dupes{$key} =~ s/.*This bug has been marked as a duplicate of (\d{1,5}).*/$1/sm;
                $dbh->do("INSERT INTO duplicates VALUES('$dupes{$key}', '$key')");
                #                                                                                BugItsADupeOf   Dupe
        }