aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_notify.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-04-04 09:31:12 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-04-04 09:31:12 +0200
commit92156cd8403fa1521ecf3c3f9ed3823c03c73dcd (patch)
tree38e7b6573c7162254e56dddcaa1543361ead1dbc /mod/dfrn_notify.php
parentb48e82d12ab3d5ea07f9e8410aacb9c3ae842539 (diff)
parent9b50b0e16f2046b91cb4c734c56024524d8b178b (diff)
downloadvolse-hubzilla-92156cd8403fa1521ecf3c3f9ed3823c03c73dcd.tar.gz
volse-hubzilla-92156cd8403fa1521ecf3c3f9ed3823c03c73dcd.tar.bz2
volse-hubzilla-92156cd8403fa1521ecf3c3f9ed3823c03c73dcd.zip
Merge remote-tracking branch 'friendika-master/master' into iconpopup
Diffstat (limited to 'mod/dfrn_notify.php')
-rw-r--r--mod/dfrn_notify.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php
index 2cc5a62f3..cd67df1d7 100644
--- a/mod/dfrn_notify.php
+++ b/mod/dfrn_notify.php
@@ -262,10 +262,13 @@ function dfrn_notify_post(&$a) {
$when = datetime_convert('UTC','UTC','now','Y-m-d H:i:s');
}
if($deleted) {
- $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1",
+
+ $r = q("SELECT * FROM `item` WHERE `uri` = '%s' AND `uid` = %d AND `contact-id` = %d LIMIT 1",
dbesc($uri),
- intval($importer['importer_uid'])
+ intval($importer['importer_uid']),
+ intval($importer['id'])
);
+
if(count($r)) {
$item = $r[0];