Skip to content
Snippets Groups Projects
Commit 8078b209 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Bugfix.

parent 2823c27a
No related branches found
No related tags found
No related merge requests found
......@@ -101,14 +101,14 @@ class HTTP
$port = (isset($_SERVER['SERVER_PORT'])) ? $_SERVER['SERVER_PORT'] : '80';
if (self::getServerHTTPS()) {
if ($port !== '443') {
$port = ':'.$port;
return ':'.$port;
}
} else {
if ($port !== '80') {
$port = ':'.$port;
return ':'.$port;
}
}
return $port;
return '';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment