From 42db96f49dcf75a3e440288eae16e734ba95e04b Mon Sep 17 00:00:00 2001 From: Ben Corlett Date: Fri, 13 Sep 2013 16:43:57 +1000 Subject: [PATCH] Fixing exceptions referencing old variables. Signed-off-by: Ben Corlett --- src/League/OAuth2/Client/Exception/IDPException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/League/OAuth2/Client/Exception/IDPException.php b/src/League/OAuth2/Client/Exception/IDPException.php index 4b0ebad..74c52df 100644 --- a/src/League/OAuth2/Client/Exception/IDPException.php +++ b/src/League/OAuth2/Client/Exception/IDPException.php @@ -28,7 +28,7 @@ class IDPException extends \Exception } - parent::__construct($message['message'], $message['code']); + parent::__construct($message, $code); } public function getType() @@ -63,4 +63,4 @@ class IDPException extends \Exception return $str . $this->message; } -} \ No newline at end of file +}