aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-24 13:19:58 +0800
committerByron Jones <bjones@mozilla.com>2013-10-24 13:19:58 +0800
commitf54465a041e73fc4e394dea3f4352a52db65968b (patch)
tree5cca3a7dd5fc702d79a4d724e59582c230e41069
parentBump version post-release (diff)
downloadbugzilla-f54465a041e73fc4e394dea3f4352a52db65968b.tar.gz
bugzilla-f54465a041e73fc4e394dea3f4352a52db65968b.tar.bz2
bugzilla-f54465a041e73fc4e394dea3f4352a52db65968b.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
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 7c8984d40..e063c3db4 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');