From b1e5dfad3cb3881bb2e5655ede1b64adaff32dcc Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 5 Oct 2011 15:35:53 -0700 Subject: clean up w3c validation and layout for priv mail and lang selector --- mod/dfrn_notify.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/dfrn_notify.php') diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 07de64160..53179eaf1 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -451,9 +451,12 @@ function dfrn_notify_post(&$a) { if($is_reply) { - // was the top-level post for this reply written by somebody on this site? Specifically, the recipient? + // was the top-level post for this reply written by somebody on this site? + // Specifically, the recipient? - $r = q("select `item`.`id` from `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` where `contact`.`self` = 1 AND `item`.`uri` = '%s' AND `item`.`uid` = %d LIMIT 1", + $r = q("select `item`.`id` from `item` + LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` + WHERE `contact`.`self` = 1 AND `item`.`uri` = '%s' AND `item`.`uid` = %d LIMIT 1", dbesc($parent_uri), intval($importer['importer_uid']) ); -- cgit v1.2.3