Commit c4404e28 by Scott

Handle deleted users in private messages

Fixes #161
parent f287ebcd
...@@ -541,8 +541,9 @@ if (QA_FINAL_EXTERNAL_USERS) { ...@@ -541,8 +541,9 @@ if (QA_FINAL_EXTERNAL_USERS) {
{ {
if (qa_to_override(__FUNCTION__)) { $args=func_get_args(); return qa_call_override(__FUNCTION__, $args); } if (qa_to_override(__FUNCTION__)) { $args=func_get_args(); return qa_call_override(__FUNCTION__, $args); }
if (!strlen($handle)) if (strlen($handle) === 0) {
return ''; return qa_lang('main/anonymous');
}
$url = qa_path_html('user/' . $handle); $url = qa_path_html('user/' . $handle);
$favclass = $favorited ? ' qa-user-favorited' : ''; $favclass = $favorited ? ' qa-user-favorited' : '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment