Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #71 from jeffreytgilbert/master

Hid an unset notice, but not sure why it was happening.
  • Loading branch information...
commit 34fffa79051298f3bcc2b129c84ab0b3c7307eb1 2 parents 050128f + d597c1c
hybridauth authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 hybridauth/Hybrid/Provider_Model_OpenID.php
View
5 hybridauth/Hybrid/Provider_Model_OpenID.php
@@ -33,7 +33,10 @@ function initialize()
// include LightOpenID lib
require_once Hybrid_Auth::$config["path_libraries"] . "OpenID/LightOpenID.php";
-
+
+ // An error was occurring when proxy wasn't set. Not sure where proxy was meant to be set/initialized.
+ Hybrid_Auth::$config['proxy'] = isset(Hybrid_Auth::$config['proxy'])?Hybrid_Auth::$config['proxy']:'';
+
$this->api = new LightOpenID( parse_url( Hybrid_Auth::$config["base_url"], PHP_URL_HOST), Hybrid_Auth::$config["proxy"] );
}
Please sign in to comment.
Something went wrong with that request. Please try again.