1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/11508] The question mark is expected even if there are no parameters.

PHPBB3-11508
This commit is contained in:
Cesar G
2014-02-27 23:34:01 -08:00
parent 47f8a6375f
commit 5e0ab146d9

View File

@@ -2376,7 +2376,7 @@ function build_url($strip_vars = false)
$redirect = $path_helper->strip_url_params($redirect, $strip_vars, false); $redirect = $path_helper->strip_url_params($redirect, $strip_vars, false);
} }
return $redirect; return $redirect . ((strpos($redirect, '?') === false) ? '?' : '');
} }
/** /**