summaryrefslogtreecommitdiff
path: root/extlib
diff options
context:
space:
mode:
authorMarcel van der Boom <marcel@hsdev.com>2009-09-08 21:48:51 +0200
committerCraig Andrews <candrews@integralblue.com>2009-09-11 20:49:24 -0400
commita73162d3eb237046f89ab21e17a9424ac47cd66d (patch)
tree6df17b8a7723388ab6d6edf8ffc1db027c7bec9e /extlib
parent9e2705d9d3add426fae4ef998075dab72a736b34 (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.php2
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'];