Fix bad arguments that were throwing PHP warnings

darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
This commit is contained in:
Zach Copley 2008-12-11 15:36:59 -05:00
parent bf5abbf12b
commit 64c57b7c77
2 changed files with 2 additions and 2 deletions

View 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();

View 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;
}