mirror of
https://github.com/friendica/friendica
synced 2024-12-25 04:40:17 +00:00
Merge remote-tracking branch 'upstream/develop' into 1601-dfrn-import
This commit is contained in:
commit
aeecd83ade
1 changed files with 4 additions and 1 deletions
|
@ -903,7 +903,10 @@ function contact_posts($a, $contact_id) {
|
||||||
|
|
||||||
$o .= $tab_str;
|
$o .= $tab_str;
|
||||||
|
|
||||||
if ($contact["url"]) {
|
$r = q("SELECT `id` FROM `item` WHERE `contact-id` = %d LIMIT 1", intval($contact_id));
|
||||||
|
if ($r)
|
||||||
|
$o .= posts_from_contact($a, $contact_id);
|
||||||
|
elseif ($contact["url"]) {
|
||||||
$r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' LIMIT 1",
|
$r = q("SELECT `id` FROM `gcontact` WHERE `nurl` = '%s' LIMIT 1",
|
||||||
dbesc(normalise_link($contact["url"])));
|
dbesc(normalise_link($contact["url"])));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue