Permalink
Browse files

fixed yap consumer key exception message

  • Loading branch information...
1 parent 1cd7a0e commit 365d9d561672ed7f1a456f4d406cd931b9e9b4e1 @dustinwhittle dustinwhittle committed Oct 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Yahoo/YahooOAuthApplication.class.php
View
2 lib/Yahoo/YahooOAuthApplication.class.php
@@ -167,7 +167,7 @@ public static function fromYAP($consumer_key, $consumer_secret, $application_id)
$yap_consumer_key = $_POST['yap_consumer_key'];
if($consumer_key != $yap_consumer_key) {
- throw new YahooOAuthApplicationException(sprintf('Provided consumer key does not match yap_consumer_key: (%s)', $yap_consumer));
+ throw new YahooOAuthApplicationException(sprintf('Provided consumer key does not match yap_consumer_key: (%s)', $yap_consumer_key));
}
$consumer = new OAuthConsumer($consumer_key, $consumer_secret);

0 comments on commit 365d9d5

Please sign in to comment.