From: friendica Date: Mon, 23 Apr 2012 02:20:24 +0000 (-0700) Subject: bug #388 notify_comment sent after post deleted X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=80b79f238fe0a1297db91fc3448d2eb03befea35;p=friendica-addons.git bug #388 notify_comment sent after post deleted --- diff --git a/facebook.tgz b/facebook.tgz index 681be28a..a3e60e2d 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index 874ef302..011b9ac1 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -1425,7 +1425,7 @@ function fb_consume_comment(&$a, &$user, &$self, $fb_id, $wall, &$orig_post, &$c $cmntdata['body'] = $cmnt->message; $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']), intval($uid) ); diff --git a/smiley_pack.tgz b/smiley_pack.tgz index 7ef9d884..8aae089d 100644 Binary files a/smiley_pack.tgz and b/smiley_pack.tgz differ