mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
A little precaution
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10012 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
20bf778b93
commit
977ba9a68a
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ function disapprove_post($post_id_list, $id, $mode)
|
|||
{
|
||||
// Load up the language pack
|
||||
$lang = array();
|
||||
@include($phpbb_root_path . '/language/' . $post_data['user_lang'] . '/mcp.' . $phpEx);
|
||||
@include($phpbb_root_path . '/language/' . basename($post_data['user_lang']) . '/mcp.' . $phpEx);
|
||||
|
||||
// If we find the reason in this language pack use it
|
||||
if (isset($lang['report_reasons']['DESCRIPTION'][$disapprove_reason_lang]))
|
||||
|
|
Loading…
Add table
Reference in a new issue