Commit f54465a0 authored by Byron Jones's avatar Byron Jones

Bug 930013: fall back to the bug's current delta_ts when validating a token if…

Bug 930013: fall back to the bug's current delta_ts when validating a token if one is not provided to process_bug.cgi r=dkl,a=glob
parent 3bb60e9f
......@@ -167,7 +167,7 @@ if ($delta_ts) {
my $token = $cgi->param('token');
if ($cgi->param('id')) {
check_hash_token($token, [$first_bug->id, $delta_ts]);
check_hash_token($token, [$first_bug->id, $delta_ts || $first_bug->delta_ts]);
}
else {
check_token_data($token, 'buglist_mass_change', 'query.cgi');
......
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