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:
parent
9e2705d9d3
commit
a73162d3eb
@ -327,7 +327,7 @@ class OAuthRequest {/*{{{*/
|
|||||||
public function get_normalized_http_url() {/*{{{*/
|
public function get_normalized_http_url() {/*{{{*/
|
||||||
$parts = parse_url($this->http_url);
|
$parts = parse_url($this->http_url);
|
||||||
|
|
||||||
$port = @$parts['port'];
|
$port = isset($parts['port']) ? $parts['port'] : null;
|
||||||
$scheme = $parts['scheme'];
|
$scheme = $parts['scheme'];
|
||||||
$host = $parts['host'];
|
$host = $parts['host'];
|
||||||
$path = @$parts['path'];
|
$path = @$parts['path'];
|
||||||
|
Loading…
Reference in New Issue
Block a user