Commit 95777645 authored by ghendricks%novell.com's avatar ghendricks%novell.com

Bug 476943 - Edit multiple issues token after switching to shadow DB

patch by ghendricks@novell.com r=mkanat a=mkanat
parent c05900ef
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment