mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15172] Cast port to integer
PHPBB3-15172
This commit is contained in:
@@ -1661,7 +1661,7 @@ function generate_board_url($without_script_path = false)
|
||||
}
|
||||
else
|
||||
{
|
||||
$server_port = $symfony_request->getPort();
|
||||
$server_port = (int) $symfony_request->getPort();
|
||||
|
||||
$forwarded_proto = $request->server('HTTP_X_FORWARDED_PROTO');
|
||||
|
||||
|
Reference in New Issue
Block a user