remove amon, fix openid
[contractdashboard.git] / lib / openid.php
blob:a/lib/openid.php -> blob:b/lib/openid.php
--- 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);
         }