--- a/lib/openid.php +++ b/lib/openid.php @@ -81,7 +81,7 @@ $this->trustRoot = (strpos($host, '://') ? $host : 'https://' . $host); } - if(($host_end = strpos($this->trustRoot, '/', 8)) !== false) { + if(($host_end = @strpos($this->trustRoot, '/', 8)) !== false) { $this->trustRoot = substr($this->trustRoot, 0, $host_end); }