]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix bad arguments that were throwing PHP warnings
authorZach Copley <zach@controlyourself.ca>
Thu, 11 Dec 2008 20:36:59 +0000 (15:36 -0500)
committerZach Copley <zach@controlyourself.ca>
Thu, 11 Dec 2008 20:36:59 +0000 (15:36 -0500)
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz

actions/twitapistatuses.php
lib/twitterapi.php

index e17f23aea25af8efa8028ae98416d1c87a5e53d8..7b6598b108e8fc8d4d2d74173cf05f63bc20fb35 100644 (file)
@@ -112,7 +112,7 @@ class TwitapistatusesAction extends TwitterapiAction {
 
                $since = strtotime($this->arg('since'));
 
-               $user = $this->get_user($id, $apidata);
+               $user = $this->get_user(NULL, $apidata);
                $this->auth_user = $user;
 
                $profile = $user->getProfile();
index b2095dec78aaa816581b368def546af1cd16c0dc..4346adcd1f68469018e8608855d0ed07134696b8 100644 (file)
@@ -76,7 +76,7 @@ class TwitterapiAction extends Action {
 
                if ($include_user) {
                        # Don't get notice (recursive!)
-                       $twitter_user = $this->twitter_user_array($profile, false, $user);
+                       $twitter_user = $this->twitter_user_array($profile, false);
                        $twitter_status['user'] = $twitter_user;
                }