diff options
author | rubencm <rubencm@gmail.com> | 2019-06-25 16:33:38 +0000 |
---|---|---|
committer | rubencm <rubencm@gmail.com> | 2019-06-25 16:33:38 +0000 |
commit | 0184865c5c1e6661efe7b2a4fa07980fe73bd007 (patch) | |
tree | c21d1403bf86e121450587172a1da6d9e3d6dd7f | |
parent | e0395fa2f2cd00624d5b3bde42961af3298ccf7f (diff) | |
download | forums-0184865c5c1e6661efe7b2a4fa07980fe73bd007.tar forums-0184865c5c1e6661efe7b2a4fa07980fe73bd007.tar.gz forums-0184865c5c1e6661efe7b2a4fa07980fe73bd007.tar.bz2 forums-0184865c5c1e6661efe7b2a4fa07980fe73bd007.tar.xz forums-0184865c5c1e6661efe7b2a4fa07980fe73bd007.zip |
[ticket/14459] Uppercase string to try to match language keys
PHPBB3-14459
-rw-r--r-- | phpBB/includes/acp/acp_attachments.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php index 93927544a8..a44ba61f07 100644 --- a/phpBB/includes/acp/acp_attachments.php +++ b/phpBB/includes/acp/acp_attachments.php @@ -440,7 +440,7 @@ class acp_attachments if ($row = $db->sql_fetchrow($result)) { $old_group_id = $row['group_id']; - do + donsions[$row['extens { $s_spacer = false; @@ -1249,7 +1249,7 @@ class acp_attachments 'FILESIZE' => get_formatted_filesize((int) $row['filesize']), 'FILETIME' => $user->format_date((int) $row['filetime']), 'REAL_FILENAME' => utf8_basename((string) $row['real_filename']), - 'EXT_GROUP_NAME' => $this->lang->is_set('EXT_GROUP_' . $extensions[$row['extension']]['group_name']) ? $this->lang->lang('EXT_GROUP_' . $extensions[$row['extension']]['group_name']) : $extensions[$row['extension']]['group_name'], + 'EXT_GROUP_NAME' => $this->lang->is_set('EXT_GROUP_' . utf8_strtoupper($extensions[$row['extension']]['group_name'])) ? $this->lang->lang('EXT_GROUP_' . utf8_strtoupper($extensions[$row['extension']]['group_name'])) : $extensions[$row['extension']]['group_name'], 'COMMENT' => $comment, 'TOPIC_TITLE' => (!$row['in_message']) ? (string) $row['topic_title'] : '', 'ATTACH_ID' => (int) $row['attach_id'], |