diff options
author | Byron Jones <bjones@mozilla.com> | 2013-10-24 07:18:15 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-10-24 07:18:15 +0200 |
commit | 8e8d0bf3e629e08283e929f4cbf2e58c33b588cc (patch) | |
tree | a5ba577f7c335567fdfc6ba121aa1f6db776ee74 /process_bug.cgi | |
parent | ace93239c350e28c8201d948ea0f5c9126c2759a (diff) | |
download | bugzilla-8e8d0bf3e629e08283e929f4cbf2e58c33b588cc.tar.gz bugzilla-8e8d0bf3e629e08283e929f4cbf2e58c33b588cc.tar.xz |
Bug 930013: fall back to the bug's current delta_ts when validating a token if one is not provided to process_bug.cgi
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index bae7e84d1..fef6bb499 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -205,7 +205,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'); |