aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-24 13:19:56 +0800
committerByron Jones <bjones@mozilla.com>2013-10-24 13:19:56 +0800
commitf73356f78380006fbbd6a6cc637a77e076d1b84d (patch)
treef9c7fad7a68f8796d96e5277e528d06892411ae8 /process_bug.cgi
parentBug 926232 - CSS style ".bz_status_UNCONFIRMED" is not applied due to typo. (diff)
downloadbugzilla-f73356f78380006fbbd6a6cc637a77e076d1b84d.tar.gz
bugzilla-f73356f78380006fbbd6a6cc637a77e076d1b84d.tar.bz2
bugzilla-f73356f78380006fbbd6a6cc637a77e076d1b84d.zip
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
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 2bcfca6d5..90e363afa 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');