mirror of
https://github.com/friendica/friendica
synced 2024-12-23 16:00:16 +00:00
Merge pull request #3820 from annando/contact-posts
The selection between posts from forums and other users had a problem
This commit is contained in:
commit
2332d9f62a
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ function posts_from_contact_url(App $a, $contact_url) {
|
|||
|
||||
$author_id = intval($r[0]["author-id"]);
|
||||
|
||||
$contact = ($r[0]["contact-type"] = ACCOUNT_TYPE_COMMUNITY ? 'owner-id' : 'author-id');
|
||||
$contact = ($r[0]["contact-type"] == ACCOUNT_TYPE_COMMUNITY ? 'owner-id' : 'author-id');
|
||||
|
||||
$r = q(item_query()." AND `item`.`".$contact."` = %d AND ".$sql.
|
||||
" ORDER BY `item`.`created` DESC LIMIT %d, %d",
|
||||
|
|
Loading…
Reference in a new issue