mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/15560] Remove correct anchor_pos variable name
PHPBB3-15560
This commit is contained in:
parent
154ebc24c2
commit
5ca9674ced
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Reference in a new issue