1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-03 06:08:05 +02:00

[ticket/17436] Fix phpBB 2.0 converter PHP fatal error

PHPBB-17436
This commit is contained in:
rxu 2024-11-21 22:46:31 +07:00
parent 5c7cbbc6a8
commit 150bd59c82
No known key found for this signature in database
GPG Key ID: 955F0567380E586A

View File

@ -1418,9 +1418,9 @@ function phpbb_attachment_extension_group_name()
$result = $db->sql_query($sql);
$extension_groups_updated = array();
while ($lang_dir = $db->sql_fetchfield('lang_dir'))
while ($row = $db->sql_fetchrow($result))
{
$lang_dir = basename($lang_dir);
$lang_dir = basename($row['lang_dir']);
$lang_file = $phpbb_root_path . 'language/' . $lang_dir . '/acp/attachments.' . $phpEx;
if (!file_exists($lang_file))