1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-15 22:26:32 +02:00

[ticket/15560] Remove correct anchor_pos variable name

PHPBB3-15560
This commit is contained in:
mrgoldy
2020-04-12 13:44:04 +02:00
parent 154ebc24c2
commit 5ca9674ced

View File

@ -1203,7 +1203,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '',
// Remove any post id anchor
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'];