summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2008-12-11 15:36:59 -0500
committerZach Copley <zach@controlyourself.ca>2008-12-11 15:36:59 -0500
commit64c57b7c7750e237e67f13d5dd4ca4f049f0f1ff (patch)
tree4eb08b7e21655df8e41a2c50c4e0cddc86f84c85
parentbf5abbf12bf1b1c0ff65fe6329712e48ed6b911d (diff)
Fix bad arguments that were throwing PHP warnings
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
-rw-r--r--actions/twitapistatuses.php2
-rw-r--r--lib/twitterapi.php2
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;
}