diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-28 23:08:36 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-28 23:08:36 -0800 |
commit | 4d3808a815dd8a020cf17151e4c04a821790169d (patch) | |
tree | 0d07aabf437e7a0ec43dcf5a380535d27595f574 /lib/api.php | |
parent | e5eca9bd2ce11633e14a840cb93adc6fd3ec8fc0 (diff) |
Fix more fatal errors in queue edge cases
Diffstat (limited to 'lib/api.php')
-rw-r--r-- | lib/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api.php b/lib/api.php index 794b14050..10a2fae28 100644 --- a/lib/api.php +++ b/lib/api.php @@ -298,7 +298,7 @@ class ApiAction extends Action } } - if ($include_user) { + if ($include_user && $profile) { # Don't get notice (recursive!) $twitter_user = $this->twitterUserArray($profile, false); $twitter_status['user'] = $twitter_user; |