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

patch by ghendricks@novell.com r=mkanat a=mkanat


git-svn-id: svn://10.0.0.236/trunk@256118 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ghendricks%novell.com 2009-02-05 17:13:42 +00:00
parent 4adf46bd77
commit 877ce9124a

View File

@ -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');