aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2020-01-07 20:26:56 +0100
committerMarc Alexander <admin@m-a-styles.de>2020-01-07 20:26:56 +0100
commit11d7b71959e844d427d77c8fec46b22082675948 (patch)
tree393bd781cde56ad81c13a56ec8aa1bde07754cac /phpBB/includes/ucp/ucp_pm_viewfolder.php
parentMerge branch 'prep-release-3.2.9' into 3.2.x (diff)
downloadphpbb-11d7b71959e844d427d77c8fec46b22082675948.tar.gz
phpbb-11d7b71959e844d427d77c8fec46b22082675948.tar.bz2
phpbb-11d7b71959e844d427d77c8fec46b22082675948.zip
[ticket/16296] Adjust form token check for mark actions
PHPBB3-16296
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewfolder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php
index ce40a2507d..4b6377e0b7 100644
--- a/phpBB/includes/ucp/ucp_pm_viewfolder.php
+++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php
@@ -32,7 +32,7 @@ function view_folder($id, $mode, $folder_id, $folder)
$folder_info = get_pm_from($folder_id, $folder, $user->data['user_id']);
- add_form_key('ucp_pm_view_folder');
+ add_form_key('ucp_pm_view');
if (!$submit_export)
{
@@ -199,7 +199,7 @@ function view_folder($id, $mode, $folder_id, $folder)
$enclosure = $request->variable('enclosure', '');
$delimiter = $request->variable('delimiter', '');
- if (!check_form_key('ucp_pm_view_folder'))
+ if (!check_form_key('ucp_pm_view'))
{
trigger_error('FORM_INVALID');
}