From 7ff02bb7d4483b3dc24edd78551a3936798056a8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 26 Sep 2008 10:50:08 -0400 Subject: try to clean up user-without-profile errors darcs-hash:20080926145008-5ed1f-8a60ed3c5adbfe75aa044732e8d10dbdb9b93089.gz --- actions/showstream.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actions/showstream.php') 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 : -- cgit v1.2.3-54-g00ecf