Permalink
Browse files

Merge pull request #71 from jeffreytgilbert/master

Hid an unset notice, but not sure why it was happening.
  • Loading branch information...
2 parents 050128f + d597c1c commit 34fffa79051298f3bcc2b129c84ab0b3c7307eb1 hybridauth committed Dec 27, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 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"] );
}

0 comments on commit 34fffa7

Please sign in to comment.