mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Suppress error message for non-existing contacts in mod/follow
This commit is contained in:
parent
3a58fe48bd
commit
d13f36938c
1 changed files with 4 additions and 1 deletions
|
@ -176,7 +176,10 @@ function follow_content(App $a)
|
|||
|
||||
$a->page['aside'] = '';
|
||||
|
||||
Profile::load($a, '', 0, Contact::getDetailsByURL($ret['url']), false);
|
||||
$profiledata = Contact::getDetailsByURL($ret['url']);
|
||||
if ($profiledata) {
|
||||
Profile::load($a, '', 0, $profiledata, false);
|
||||
}
|
||||
|
||||
if ($gcontact_id <> 0) {
|
||||
$o .= replace_macros(get_markup_template('section_title.tpl'),
|
||||
|
|
Loading…
Reference in a new issue