1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01: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);
}
return $redirect;
return $redirect . ((strpos($redirect, '?') === false) ? '?' : '');
}
/**