summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 45e155fea..c9b35ee0b 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -35,12 +35,14 @@ class ShowstreamAction extends StreamAction {
if (!$user) {
$this->no_such_user();
+ return;
}
$profile = $user->getProfile();
if (!$profile) {
common_server_error(_t('User record exists without profile.'));
+ return;
}
# Looks like we're good; show the header