From: Byron Jones Date: Thu, 24 Oct 2013 05:19:58 +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.4.2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f54465a041e73fc4e394dea3f4352a52db65968b;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 7c8984d404..e063c3db4e 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');