bug #388 notify_comment sent after post deleted

pull/52/head
friendica 2012-04-22 19:20:24 -07:00
parent b6027b2fe7
commit 80b79f238f
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -1425,7 +1425,7 @@ function fb_consume_comment(&$a, &$user, &$self, $fb_id, $wall, &$orig_post, &$c
$cmntdata['body'] = $cmnt->message; $cmntdata['body'] = $cmnt->message;
$item = item_store($cmntdata); $item = item_store($cmntdata);
$myconv = q("SELECT `author-link`, `author-avatar`, `parent` FROM `item` WHERE `parent-uri` = '%s' AND `uid` = %d AND `parent` != 0 ", $myconv = q("SELECT `author-link`, `author-avatar`, `parent` FROM `item` WHERE `parent-uri` = '%s' AND `uid` = %d AND `parent` != 0 AND `deleted` = 0",
dbesc($orig_post['uri']), dbesc($orig_post['uri']),
intval($uid) intval($uid)
); );

Binary file not shown.