From: Chris S. <too...@ph...> - 2009-08-18 01:52:25
|
Author: toonarmy Date: Tue Aug 18 02:45:31 2009 New Revision: 10012 Log: A little precaution Modified: branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_queue.php Modified: branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_queue.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_queue.php (original) --- branches/phpBB-3_0_0/phpBB/includes/mcp/mcp_queue.php Tue Aug 18 02:45:31 2009 *************** *** 895,901 **** { // Load up the language pack $lang = array(); ! @include($phpbb_root_path . '/language/' . $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])) --- 895,901 ---- { // Load up the language pack $lang = array(); ! @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])) |