aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/admin_attachments.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-05-15 20:17:35 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-05-15 20:17:35 +0000
commit918914926b13253ef3a9af40bcdb0ea8b900f497 (patch)
tree2d1e0313e99f45e82a2f5081dfb450de352dad28 /phpBB/adm/admin_attachments.php
parent4c207e5510a77931d3eed6fc065f294c8f675f82 (diff)
downloadforums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar
forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar.gz
forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar.bz2
forums-918914926b13253ef3a9af40bcdb0ea8b900f497.tar.xz
forums-918914926b13253ef3a9af40bcdb0ea8b900f497.zip
- request_var updates
- added group selection to pm filter - fixed activation/deletion of inactive user accounts in admin index - fixed some color swatch bugs git-svn-id: file:///svn/phpbb/trunk@5152 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/admin_attachments.php')
-rw-r--r--phpBB/adm/admin_attachments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/admin_attachments.php b/phpBB/adm/admin_attachments.php
index 02a024f541..1b538593bc 100644
--- a/phpBB/adm/admin_attachments.php
+++ b/phpBB/adm/admin_attachments.php
@@ -361,8 +361,8 @@ if ($submit && $mode == 'ext_groups')
if ($submit && $mode == 'orphan')
{
- $delete_files = (isset($_POST['delete'])) ? array_keys(request_var('delete', '')) : array();
- $add_files = (isset($_POST['add'])) ? array_keys(request_var('add', '')) : array();
+ $delete_files = (isset($_POST['delete'])) ? array_keys(request_var('delete', array('' => 0))) : array();
+ $add_files = (isset($_POST['add'])) ? array_keys(request_var('add', array('' => 0))) : array();
$post_ids = request_var('post_id', 0);
foreach ($delete_files as $delete)