1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/16207] Stop appending ? to build_url URLs if not needed

PHPBB3-16207
This commit is contained in:
Marc Alexander
2021-07-18 09:55:08 +02:00
parent 0cbbb79283
commit dd8191404d
2 changed files with 5 additions and 5 deletions

View File

@@ -1835,7 +1835,7 @@ function build_url($strip_vars = false)
$redirect = str_replace('&', '&', $redirect);
}
return $redirect . ((strpos($redirect, '?') === false) ? '?' : '');
return $redirect;
}
/**