mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/11031] Fix missing variable lang_file from code conversion
PHPBB3-11031
This commit is contained in:
parent
19380a9b08
commit
157de2d80d
1 changed files with 2 additions and 1 deletions
|
@ -1431,8 +1431,9 @@ function phpbb_attachment_extension_group_name()
|
|||
while ($lang_dir = $db->sql_fetchfield('lang_dir'))
|
||||
{
|
||||
$lang_dir = basename($lang_dir);
|
||||
$lang_file = $phpbb_root_path . 'language/' . $lang_dir . '/acp/attachments.' . $phpEx;
|
||||
|
||||
if (!file_exists($phpbb_root_path . 'language/' . $lang_dir . '/acp/attachments.' . $phpEx))
|
||||
if (!file_exists($lang_file))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue