aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorrubencm <rubencm@gmail.com>2019-07-27 15:15:58 +0000
committerrubencm <rubencm@gmail.com>2019-07-27 15:15:58 +0000
commitacb5794d5025b94ba6c696a343a3801acd5cd49e (patch)
treef725d4b683ff46113e44aa17443f472a079bea43 /phpBB/includes/acp
parent6787f6706ef54d35dd9d8450170823520f9a06c1 (diff)
downloadforums-acb5794d5025b94ba6c696a343a3801acd5cd49e.tar
forums-acb5794d5025b94ba6c696a343a3801acd5cd49e.tar.gz
forums-acb5794d5025b94ba6c696a343a3801acd5cd49e.tar.bz2
forums-acb5794d5025b94ba6c696a343a3801acd5cd49e.tar.xz
forums-acb5794d5025b94ba6c696a343a3801acd5cd49e.zip
[ticket/14459] Rename variable
PHPBB3-14459
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_attachments.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_attachments.php b/phpBB/includes/acp/acp_attachments.php
index 421f3f3545..bf6c3b1d1d 100644
--- a/phpBB/includes/acp/acp_attachments.php
+++ b/phpBB/includes/acp/acp_attachments.php
@@ -28,7 +28,7 @@ class acp_attachments
protected $config;
/** @var \phpbb\language\language */
- protected $lang;
+ protected $language;
/** @var ContainerBuilder */
protected $phpbb_container;
@@ -57,7 +57,7 @@ class acp_attachments
$this->id = $id;
$this->db = $db;
$this->config = $config;
- $this->lang = $phpbb_container->get('language');
+ $this->language = $phpbb_container->get('language');
$this->template = $template;
$this->user = $user;
$this->phpbb_container = $phpbb_container;
@@ -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_' . utf8_strtoupper($extensions[$row['extension']]['group_name'])) ? $this->lang->lang('EXT_GROUP_' . utf8_strtoupper($extensions[$row['extension']]['group_name'])) : $extensions[$row['extension']]['group_name'],
+ 'EXT_GROUP_NAME' => $this->language->is_set('EXT_GROUP_' . utf8_strtoupper($extensions[$row['extension']]['group_name'])) ? $this->language->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'],