diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-01-30 13:44:46 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-01-30 13:44:46 +0100 |
commit | 3cdd0c2749fd3de7bc4c6989d7a5ca8af62435a3 (patch) | |
tree | 7a1dea0adf6c4fda2c7fefaf32458b1c03499c94 | |
parent | 8fa9965e5476717e574f2674c6df8c4487874634 (diff) | |
download | bugzilla-3cdd0c2749fd3de7bc4c6989d7a5ca8af62435a3.tar.gz bugzilla-3cdd0c2749fd3de7bc4c6989d7a5ca8af62435a3.tar.xz |
Fix bustage for bug 616185: commas are encoded as %2C in Bugzilla 3.x, but not in 2.22
-rw-r--r-- | Bugzilla/Install/DB.pm | 2 |
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; |