]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 930013: fall back to the bug's current delta_ts when validating a token if one...
authorByron Jones <bjones@mozilla.com>
Thu, 24 Oct 2013 05:19:56 +0000 (13:19 +0800)
committerByron Jones <bjones@mozilla.com>
Thu, 24 Oct 2013 05:19:56 +0000 (13:19 +0800)
r=dkl,a=glob

process_bug.cgi

index 2bcfca6d5129066a0cb55157fdcdf2863ce72d22..90e363afa0f81a2c262ab7fb212769a2d15f414f 100755 (executable)
@@ -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');