summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 2f7c2fb92..43556a0ed 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -252,6 +252,11 @@ class ShowstreamAction extends StreamAction {
$other = Profile::staticGet($subs->subscribed);
+ if (!$other) {
+ common_log_db_error($subs, 'SELECT', __FILE__);
+ continue;
+ }
+
common_element_start('li');
common_element_start('a', array('title' => ($other->fullname) ?
$other->fullname :