diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2013-10-25 13:10:33 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2013-10-25 13:10:33 +0200 |
| commit | 157de2d80dd4f0b298c33819e55fcd05fdfce568 (patch) | |
| tree | 8b6f779c9ce8da9cb0d975340110323a369e65dc | |
| parent | 19380a9b0846d91b214ba7cc1f7a5df62be4f4ca (diff) | |
| download | forums-157de2d80dd4f0b298c33819e55fcd05fdfce568.tar forums-157de2d80dd4f0b298c33819e55fcd05fdfce568.tar.gz forums-157de2d80dd4f0b298c33819e55fcd05fdfce568.tar.bz2 forums-157de2d80dd4f0b298c33819e55fcd05fdfce568.tar.xz forums-157de2d80dd4f0b298c33819e55fcd05fdfce568.zip | |
[ticket/11031] Fix missing variable lang_file from code conversion
PHPBB3-11031
| -rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php index 4cb9237daf..8a06296b16 100644 --- a/phpBB/install/convertors/functions_phpbb20.php +++ b/phpBB/install/convertors/functions_phpbb20.php @@ -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; } |
