From 4b9215bd14bc72edeff20a40962d0bd89b21718e Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 19 Aug 2005 10:56:46 +0000 Subject: ucp -> groups -> memberships git-svn-id: file:///svn/phpbb/trunk@5202 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_attachments.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/ucp/ucp_attachments.php') diff --git a/phpBB/includes/ucp/ucp_attachments.php b/phpBB/includes/ucp/ucp_attachments.php index 2e479b0654..9e8cd2d2e8 100644 --- a/phpBB/includes/ucp/ucp_attachments.php +++ b/phpBB/includes/ucp/ucp_attachments.php @@ -26,10 +26,11 @@ class ucp_attachments extends module if ($delete && sizeof($delete_ids)) { - $s_hidden_fields = ''; + $s_hidden_fields = array('delete' => 1); + foreach ($delete_ids as $attachment_id) { - $s_hidden_fields .= ''; + $s_hidden_fields['attachment'][$attachment_id] = 1; } if (confirm_box(true)) @@ -44,7 +45,7 @@ class ucp_attachments extends module } else { - confirm_box(false, (sizeof($delete_ids) == 1) ? 'DELETE_ATTACHMENT' : 'DELETE_ATTACHMENTS', $s_hidden_fields); + confirm_box(false, (sizeof($delete_ids) == 1) ? 'DELETE_ATTACHMENT' : 'DELETE_ATTACHMENTS', build_hidden_fields($s_hidden_fields)); } } -- cgit v1.2.1