summaryrefslogtreecommitdiff
path: root/lib/api.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-28 23:08:36 -0800
committerBrion Vibber <brion@pobox.com>2010-01-28 23:08:36 -0800
commit4d3808a815dd8a020cf17151e4c04a821790169d (patch)
tree0d07aabf437e7a0ec43dcf5a380535d27595f574 /lib/api.php
parente5eca9bd2ce11633e14a840cb93adc6fd3ec8fc0 (diff)
Fix more fatal errors in queue edge cases
Diffstat (limited to 'lib/api.php')
-rw-r--r--lib/api.php2
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;