mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14459] Rename variable
PHPBB3-14459
This commit is contained in:
parent
6787f6706e
commit
acb5794d50
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ class acp_attachments
|
||||||
protected $config;
|
protected $config;
|
||||||
|
|
||||||
/** @var \phpbb\language\language */
|
/** @var \phpbb\language\language */
|
||||||
protected $lang;
|
protected $language;
|
||||||
|
|
||||||
/** @var ContainerBuilder */
|
/** @var ContainerBuilder */
|
||||||
protected $phpbb_container;
|
protected $phpbb_container;
|
||||||
|
@ -57,7 +57,7 @@ class acp_attachments
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
$this->lang = $phpbb_container->get('language');
|
$this->language = $phpbb_container->get('language');
|
||||||
$this->template = $template;
|
$this->template = $template;
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
$this->phpbb_container = $phpbb_container;
|
$this->phpbb_container = $phpbb_container;
|
||||||
|
@ -1249,7 +1249,7 @@ class acp_attachments
|
||||||
'FILESIZE' => get_formatted_filesize((int) $row['filesize']),
|
'FILESIZE' => get_formatted_filesize((int) $row['filesize']),
|
||||||
'FILETIME' => $user->format_date((int) $row['filetime']),
|
'FILETIME' => $user->format_date((int) $row['filetime']),
|
||||||
'REAL_FILENAME' => utf8_basename((string) $row['real_filename']),
|
'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,
|
'COMMENT' => $comment,
|
||||||
'TOPIC_TITLE' => (!$row['in_message']) ? (string) $row['topic_title'] : '',
|
'TOPIC_TITLE' => (!$row['in_message']) ? (string) $row['topic_title'] : '',
|
||||||
'ATTACH_ID' => (int) $row['attach_id'],
|
'ATTACH_ID' => (int) $row['attach_id'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue