From 573507e6a59767c216532b722e9fa07514c343b8 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 18 Dec 2016 15:18:52 +0100 Subject: [ticket/14922] Make sure to pass hidden input on ajax form submissions PHPBB3-14922 --- phpBB/adm/style/ajax.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js index 7ddd2d3742..a7ecf8ff7b 100644 --- a/phpBB/adm/style/ajax.js +++ b/phpBB/adm/style/ajax.js @@ -175,7 +175,8 @@ function submitPermissions() { type: 'POST', data: formData + '&' + $submitAllButton.name + '=' + encodeURIComponent($submitAllButton.value) + '&creation_time=' + $form.find('input[type=hidden][name=creation_time]')[0].value + - '&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value, + '&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value + + '&' + $form.children('input[type=hidden]').serialize(), success: handlePermissionReturn, error: handlePermissionReturn }); -- cgit v1.2.1