MantisBT: master-2.26 fe404e16

Author Committer Branch Timestamp Parent
dregad dregad master-2.26 2023-12-01 19:03 master-2.26 afe6c727
Affected Issues  0027274: Move Delete buttons into main form
 0033248: APPLICATION ERROR 2800 Invalid form security token when trying to delete custom field
Changeset

Fix error 2800 when deleting custom field

This error is a regression introduced by fix for issue 0027274.

Changing security token name in manage_custom_field_delete.php from
manage_custom_field_delete to manage_custom_field_update resolves the
problem.

It makes more sense to reuse the existing token rather than generate a
new, specific one in manage_custom_field_edit_page.php since we're using
the same form data for update and delete operations.

Fixes 0033248

mod - manage_custom_field_delete.php Diff File