Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't generate separate delete token for each attachment
Added optional $p_security_token param to form_security_param() in form_api.php, just as with form_security_field(), to allow passing only the security token, and not the pregenerated form_security_param() string (suggested by @cproensa). Fixes #20142 Signed-off-by: Damien Regad <dregad@mantisbt.org>
- Loading branch information
Showing
2 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters