]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 706118: Session token not deleted during a bug mass-change
authorFrédéric Buclin <LpSolit@gmail.com>
Tue, 29 Nov 2011 16:03:36 +0000 (17:03 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 29 Nov 2011 16:03:36 +0000 (17:03 +0100)
r=glob a=LpSolit

process_bug.cgi

index 2dd8d49508d11b38cc9c5931b0a8dfd682986963..57d5d7e46893580006d999fce84b1ff29e817ff6 100755 (executable)
@@ -387,6 +387,9 @@ foreach my $bug (@bug_objects) {
     $bug->send_changes($changes, $vars);
 }
 
+# Delete the session token used for the mass-change.
+delete_token($token) unless $cgi->param('id');
+
 if (Bugzilla->usage_mode == USAGE_MODE_EMAIL) {
     # Do nothing.
 }