1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2022-03-16 16:23:23 +01:00

View File

@@ -1245,7 +1245,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '',
else else
{ {
// 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_pos); $redirect = substr($redirect, 0, $anchor_pos);
} }