diff --git a/Auth/OpenID/Discover.php b/Auth/OpenID/Discover.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/Discover.php
+++ b/Auth/OpenID/Discover.php
@@ -377,7 +377,8 @@ function Auth_OpenID_discoverURI($uri, &$fetcher)
 {
     $parsed = parse_url($uri);
 
-    if ($parsed && $parsed['scheme'] && $parsed['host']) {
+    if ($parsed && isset($parsed['scheme']) &&
+        isset($parsed['host'])) {
         if (!in_array($parsed['scheme'], array('http', 'https'))) {
             // raise DiscoveryFailure('URI scheme is not HTTP or HTTPS', None)
             return array($uri, array());
[project @ isset() to silence notices]