diff options
author | Zach Copley <zach@controlyourself.ca> | 2008-12-11 15:36:59 -0500 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2008-12-11 15:36:59 -0500 |
commit | 64c57b7c7750e237e67f13d5dd4ca4f049f0f1ff (patch) | |
tree | 4eb08b7e21655df8e41a2c50c4e0cddc86f84c85 | |
parent | bf5abbf12bf1b1c0ff65fe6329712e48ed6b911d (diff) |
Fix bad arguments that were throwing PHP warnings
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
-rw-r--r-- | actions/twitapistatuses.php | 2 | ||||
-rw-r--r-- | lib/twitterapi.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index e17f23aea..7b6598b10 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -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(); diff --git a/lib/twitterapi.php b/lib/twitterapi.php index b2095dec7..4346adcd1 100644 --- a/lib/twitterapi.php +++ b/lib/twitterapi.php @@ -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; } |