From 40c2be3f0aa508dffb45f2d6707aa90f558503c1 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 17 Oct 2013 12:28:16 +0200 Subject: Bug 927736: "invalid token" error if someone else changes the CC list while viewing a bug r/a=LpSolit --- process_bug.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index 19880fe7d..2bcfca6d5 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -111,7 +111,7 @@ print $cgi->header() unless Bugzilla->usage_mode == USAGE_MODE_EMAIL; # Check for a mid-air collision. Currently this only works when updating # an individual bug. -my $delta_ts = $cgi->param('delta_ts'); +my $delta_ts = $cgi->param('delta_ts') || ''; if ($delta_ts) { my $delta_ts_z = datetime_from($delta_ts) @@ -167,7 +167,7 @@ if ($delta_ts) { my $token = $cgi->param('token'); if ($cgi->param('id')) { - check_hash_token($token, [$first_bug->id, $first_bug->delta_ts]); + check_hash_token($token, [$first_bug->id, $delta_ts]); } else { check_token_data($token, 'buglist_mass_change', 'query.cgi'); -- cgit v1.2.3-24-g4f1b