diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-01 15:04:37 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-01 15:04:37 +0000 |
commit | aed7879278ec62daf814f855f3d229d935a67829 (patch) | |
tree | e02b1daffc4f5d48ce266ebc5b5688d0164ca68d /engine/lib/elgglib.php | |
parent | 6dd3a2c2948698c1fbeb9711422d5b70479a8847 (diff) | |
download | elgg-aed7879278ec62daf814f855f3d229d935a67829.tar.gz elgg-aed7879278ec62daf814f855f3d229d935a67829.tar.bz2 |
Fixes: #1475. elgg_http_build_url() correctly sets port number.
git-svn-id: http://code.elgg.org/elgg/trunk@3887 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 35904176c..a6e73437b 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -2333,7 +2333,7 @@ function elgg_normalise_plural_options_array($options, $singulars) { return $options; } - +elgg_http_build_url() /** * Get the full URL of the current page. * @@ -2528,7 +2528,7 @@ function elgg_http_build_url(array $parts) { // build only what's given to us. $scheme = isset($parts['scheme']) ? "{$parts['scheme']}://" : ''; $host = isset($parts['host']) ? "{$parts['host']}" : ''; - $port = isset($parts['port']) ? "{$parts['port']}" : ''; + $port = isset($parts['port']) ? ":{$parts['port']}" : ''; $path = isset($parts['path']) ? "{$parts['path']}" : ''; $query = isset($parts['query']) ? "?{$parts['query']}" : ''; |