diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 1ec825786..9e9809950 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -453,7 +453,7 @@ function dfrn_notify_post(&$a) { // was the top-level post for this reply written by somebody on this site? Specifically, the recipient? - $r = q("select `id` from `item` where `uri` = '%s' and AND `uid` = %d LIMIT 1", + $r = q("select `id` from `item` where `uri` = '%s' AND `uid` = %d LIMIT 1", dbesc($parent_uri), intval($importer['importer_uid']) );