diff options
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r-- | actions/noticesearch.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php index 7022109e6..e6de21ae0 100644 --- a/actions/noticesearch.php +++ b/actions/noticesearch.php @@ -92,6 +92,7 @@ class NoticesearchAction extends SearchAction { $profile = $notice->getProfile(); if (!$profile) { common_log_db_error($notice, 'SELECT', __FILE__); + $this->server_error(_('Notice without matching profile')); return; } # XXX: RDFa |