From: lpsolit%gmail.com <> Date: Wed, 8 Apr 2009 20:47:02 +0000 (+0000) Subject: Fix incorrect regexp for bug 333648 - Patch by me X-Git-Tag: bugzilla-3.4rc1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76345cea7b19c91d3d447641cfda19a0049df9b;p=thirdparty%2Fbugzilla.git Fix incorrect regexp for bug 333648 - Patch by me --- diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index f0286575fc..1307564594 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -628,7 +628,7 @@ sub update_activity { my ($removed, $added) = diff_arrays($old_summaries, $new_summaries); if (scalar @$removed || scalar @$added) { # Remove flag requester/setter information - foreach (@$removed, @$added) { s/^\S+:// } + foreach (@$removed, @$added) { s/^[^:]+:// } $removed = join(", ", @$removed); $added = join(", ", @$added);