mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
[ticket/11031] Fix missing variable lang_file from code conversion
PHPBB3-11031
This commit is contained in:
@@ -1431,8 +1431,9 @@ function phpbb_attachment_extension_group_name()
|
|||||||
while ($lang_dir = $db->sql_fetchfield('lang_dir'))
|
while ($lang_dir = $db->sql_fetchfield('lang_dir'))
|
||||||
{
|
{
|
||||||
$lang_dir = basename($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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user