The "id" field is now filled in the notifications. This is needed for the new condensed notifications.

This commit is contained in:
Michael Vogel 2015-04-26 14:43:42 +02:00
parent 7ec2161567
commit bcd20d5763
4 changed files with 12 additions and 0 deletions

View file

@ -1250,6 +1250,7 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet
return false;
$top_item = item_store($postarray);
$postarray["id"] = $top_item;
if (($top_item == 0) AND ($post->verb == "update")) {
$r = q("UPDATE `item` SET `title` = '%s', `body` = '%s' , `changed` = '%s' WHERE `uri` = '%s' AND `uid` = %d",