Bugfix: Postings disappeared due to a small variable ...
This commit is contained in:
parent
d49c3e99ac
commit
011f5b9cae
2 changed files with 10 additions and 10 deletions
|
@ -1348,7 +1348,7 @@ function item_store($arr,$force_parent = false, $notify = false, $dontcache = fa
|
|||
// Only do this for public postings to avoid privacy problems, since poco data is public.
|
||||
// Don't set this value if it isn't from the owner (could be an author that we don't know)
|
||||
if (!$arr['private'] AND (($arr["author-link"] === $arr["owner-link"]) OR ($arr["parent-uri"] === $arr["uri"])))
|
||||
$r = q("UPDATE `contact` SET `success_update` = '%s' WHERE `id` = %d",
|
||||
q("UPDATE `contact` SET `success_update` = '%s' WHERE `id` = %d",
|
||||
dbesc($arr['received']),
|
||||
intval($arr['contact-id'])
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue