diff options
author | Marcel van der Boom <marcel@hsdev.com> | 2009-09-08 21:48:51 +0200 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-09-11 20:49:24 -0400 |
commit | a73162d3eb237046f89ab21e17a9424ac47cd66d (patch) | |
tree | 6df17b8a7723388ab6d6edf8ffc1db027c7bec9e /extlib | |
parent | 9e2705d9d3add426fae4ef998075dab72a736b34 (diff) |
Silence the NOTICE log messages on port not defined, we deal with
that properly, and most of the time it is indeed not define
Diffstat (limited to 'extlib')
-rw-r--r-- | extlib/OAuth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/OAuth.php b/extlib/OAuth.php index fd4853554..648627b57 100644 --- a/extlib/OAuth.php +++ b/extlib/OAuth.php @@ -327,7 +327,7 @@ class OAuthRequest {/*{{{*/ public function get_normalized_http_url() {/*{{{*/ $parts = parse_url($this->http_url); - $port = @$parts['port']; + $port = isset($parts['port']) ? $parts['port'] : null; $scheme = $parts['scheme']; $host = $parts['host']; $path = @$parts['path']; |