Browse Source

Handle the case when a contact is unknown.

pull/3168/head
Michael 4 years ago
parent
commit
531074a72f
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      include/Contact.php

+ 4
- 0
include/Contact.php View File

@ -730,6 +730,10 @@ function posts_from_contact_url(App $a, $contact_url) {
$sql = "`item`.`uid` = %d";
}
if (!dbm::is_result($r)) {
return '';
}
$author_id = intval($r[0]["author-id"]);
if (get_config('system', 'old_pager')) {


Loading…
Cancel
Save