summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index 7233c9dc0..7d97635e8 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -3492,6 +3492,8 @@ sub _migrate_user_tags {
undef, ($user_id, $tag_name));
$query =~ s/^bug_id=//;
+ # Commas in Bugzilla 3.x are encoded as %2C, but not in 2.22.
+ $query =~ s/%2C/,/g
my @bug_ids = split(/[\s,]+/, $query);
$sth_bug_tag->execute($_, $tag_id) foreach @bug_ids;