mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:10:24 +00:00
Use default value for uid parameter in Contact::getIdForURL
This commit is contained in:
parent
01c7945b7a
commit
9f21e7f34f
5 changed files with 10 additions and 10 deletions
|
@ -162,8 +162,8 @@ class PostUpdate
|
|||
|
||||
// Set the "author-id" and "owner-id" in the item table and add a new public contact entry if needed
|
||||
foreach ($item_arr as $item) {
|
||||
$author_id = Contact::getIdForURL($item["author-link"], 0);
|
||||
$owner_id = Contact::getIdForURL($item["owner-link"], 0);
|
||||
$author_id = Contact::getIdForURL($item["author-link"]);
|
||||
$owner_id = Contact::getIdForURL($item["owner-link"]);
|
||||
|
||||
if ($author_id == 0)
|
||||
$author_id = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue