diff options
author | ghendricks%novell.com <> | 2009-02-05 18:13:42 +0100 |
---|---|---|
committer | ghendricks%novell.com <> | 2009-02-05 18:13:42 +0100 |
commit | 95777645725fb3aec73f8bb77c40c353f0370edb (patch) | |
tree | 80e240d39e3f9e64230c5eaa083a1855fd641f80 /buglist.cgi | |
parent | c05900ef1e4332bf1f234ef05188756d5dcd3a8b (diff) | |
download | bugzilla-95777645725fb3aec73f8bb77c40c353f0370edb.tar.gz bugzilla-95777645725fb3aec73f8bb77c40c353f0370edb.tar.xz |
Bug 476943 - Edit multiple issues token after switching to shadow DB
patch by ghendricks@novell.com r=mkanat a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi index de7e56bd7..63997eabb 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1251,7 +1251,11 @@ if ($dotweak && scalar @bugs) { } $vars->{'dotweak'} = 1; $vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count(); + + # issue_session_token needs to write to the master DB. + Bugzilla->switch_to_main_db(); $vars->{'token'} = issue_session_token('buglist_mass_change'); + Bugzilla->switch_to_shadow_db(); $vars->{'products'} = Bugzilla->user->get_enterable_products; $vars->{'platforms'} = get_legal_field_values('rep_platform'); |