Fix bad arguments that were throwing PHP warnings
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
This commit is contained in:
parent
bf5abbf12b
commit
64c57b7c77
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user