mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-08 00:25:19 +02:00
Merge remote-tracking branch 'prototech/ticket/11890' into develop
* prototech/ticket/11890: [ticket/11890] Fix untranslated string when deleting posts through MCP.
This commit is contained in:
commit
cba383d139
@ -921,7 +921,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '',
|
|||||||
// None of the topics is really deleted, so a redirect won't hurt much.
|
// None of the topics is really deleted, so a redirect won't hurt much.
|
||||||
$deleted_topics = 0;
|
$deleted_topics = 0;
|
||||||
|
|
||||||
$success_msg = (sizeof($post_info) == 1) ? 'POST_DELETED_SUCCESS' : 'POSTS_DELETED_SUCCESS';
|
$success_msg = (sizeof($post_info) == 1) ? $user->lang['POST_DELETED_SUCCESS'] : $user->lang['POSTS_DELETED_SUCCESS'];
|
||||||
|
|
||||||
foreach ($approve_log as $row)
|
foreach ($approve_log as $row)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user