From: gerv%gerv.net <> Date: Thu, 22 Feb 2001 22:05:34 +0000 (+0000) Subject: Made dupe table populating code not break on multi-line dupe comments. Thanks to... X-Git-Tag: bugzilla-2.12~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76dd91d8df6ede4ae5f05036148d996848711c02;p=thirdparty%2Fbugzilla.git Made dupe table populating code not break on multi-line dupe comments. Thanks to Alex Melnick . No bug number. --- diff --git a/checksetup.pl b/checksetup.pl index 3e5eab2447..8b80540810 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -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 }