summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerv%gerv.net <>2001-02-22 23:05:34 +0100
committergerv%gerv.net <>2001-02-22 23:05:34 +0100
commit76dd91d8df6ede4ae5f05036148d996848711c02 (patch)
tree2914c581d7832c5a1e14cf2768f7d4736e1c5579
parent8e4598066d7399f9ee0a2a334c61a204b30c5f7b (diff)
downloadbugzilla-76dd91d8df6ede4ae5f05036148d996848711c02.tar.gz
bugzilla-76dd91d8df6ede4ae5f05036148d996848711c02.tar.xz
Made dupe table populating code not break on multi-line dupe comments. Thanks to Alex Melnick <alex@get.topica.com>. No bug number.
-rwxr-xr-xchecksetup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 3e5eab244..8b8054081 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
}