mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 22:51:23 +02:00
[ticket/15560] Remove correct anchor_pos variable name
PHPBB3-15560
This commit is contained in:
@@ -1203,7 +1203,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '',
|
|||||||
// Remove any post id anchor
|
// Remove any post id anchor
|
||||||
if ($anchor_pos = (strrpos($redirect, '#p')) !== false)
|
if ($anchor_pos = (strrpos($redirect, '#p')) !== false)
|
||||||
{
|
{
|
||||||
$redirect = substr($redirect, 0, $anchor_post);
|
$redirect = substr($redirect, 0, $anchor_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
$success_msg = $user->lang['POST_DELETED_SUCCESS'];
|
$success_msg = $user->lang['POST_DELETED_SUCCESS'];
|
||||||
|
Reference in New Issue
Block a user