aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_attachments.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-04-26 09:18:14 -0700
committerMatt Friedman <maf675@gmail.com>2014-04-26 09:18:14 -0700
commit92fa39b79d45f024985a47431b9fbc071d1eebbc (patch)
treeb3bd9115e0e1b126f7d014853e68ff5cd149103c /phpBB/includes/acp/acp_attachments.php
parent2b9b6412b86aa0f0f38d07256bf54413498986bf (diff)
downloadforums-92fa39b79d45f024985a47431b9fbc071d1eebbc.tar
forums-92fa39b79d45f024985a47431b9fbc071d1eebbc.tar.gz
forums-92fa39b79d45f024985a47431b9fbc071d1eebbc.tar.bz2
forums-92fa39b79d45f024985a47431b9fbc071d1eebbc.tar.xz
forums-92fa39b79d45f024985a47431b9fbc071d1eebbc.zip
[ticket/12332] Restore some changes back to original state
PHPBB3-12332
Diffstat (limited to 'phpBB/includes/acp/acp_attachments.php')
-rw-r--r--phpBB/includes/acp/acp_attachments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index 51c80d0385..c4b5f951f2 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -1058,7 +1058,7 @@ class acp_attachments
$template->assign_block_vars('orphan', array(
'FILESIZE' => get_formatted_filesize($row['filesize']),
'FILETIME' => $user->format_date($row['filetime']),
- 'REAL_FILENAME' => utf8_basename((string) $row['real_filename']),
+ 'REAL_FILENAME' => utf8_basename($row['real_filename']),
'PHYSICAL_FILENAME' => utf8_basename($row['physical_filename']),
'ATTACH_ID' => $row['attach_id'],
'POST_IDS' => (!empty($post_ids[$row['attach_id']])) ? $post_ids[$row['attach_id']] : '',