From: Byron Jones Date: Thu, 24 Oct 2013 05:19:56 +0000 (+0800) Subject: Bug 930013: fall back to the bug's current delta_ts when validating a token if one... X-Git-Tag: bugzilla-4.5.2~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f73356f78380006fbbd6a6cc637a77e076d1b84d;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/process_bug.cgi b/process_bug.cgi index 2bcfca6d51..90e363afa0 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -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');