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:
@@ -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) ? '?' : '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user