Silence the NOTICE log messages on port not defined, we deal with

that properly, and most of the time it is indeed not define
This commit is contained in:
Marcel van der Boom 2009-09-08 21:48:51 +02:00 committed by Craig Andrews
parent 9e2705d9d3
commit a73162d3eb
1 changed files with 1 additions and 1 deletions

View File

@ -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'];