From: Brion Vibber Date: Tue, 21 Sep 2010 22:29:04 +0000 (-0700) Subject: fix notices in SN_YammerClient X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b9efbb5014307c6ed3e4cf9a6e87ceb4331c223;p=quix0rs-gnu-social.git fix notices in SN_YammerClient --- diff --git a/plugins/YammerImport/sn_yammerclient.php b/plugins/YammerImport/sn_yammerclient.php index c77fc4ce36..21caa7b7ca 100644 --- a/plugins/YammerImport/sn_yammerclient.php +++ b/plugins/YammerImport/sn_yammerclient.php @@ -27,7 +27,7 @@ class SN_YammerClient { protected $apiBase = "https://www.yammer.com"; protected $consumerKey, $consumerSecret; - protected $token, $tokenSecret; + protected $token, $tokenSecret, $verifier; public function __construct($consumerKey, $consumerSecret, $token=null, $tokenSecret=null) { @@ -158,7 +158,7 @@ class SN_YammerClient return $this->apiBase . '/oauth/authorize?oauth_token=' . urlencode($token); } - public function messages($params) + public function messages($params=array()) { return $this->api('messages', $params); }