]> git.mxchange.org Git - friendica.git/blobdiff - mod/ping.php
Preparations for the pumpio synchronisation.
[friendica.git] / mod / ping.php
index 6520dc77a44a2361a37ad450464d31cca20771fa..a5bf315b5bb6ecc530b090f976475337b59bfc77 100644 (file)
@@ -64,7 +64,7 @@ function ping_init(&$a) {
                                `pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink` 
                                FROM `item` INNER JOIN `item` as `pitem` ON  `pitem`.`id`=`item`.`parent`
                                WHERE `item`.`unseen` = 1 AND `item`.`visible` = 1 AND 
-                                `item`.`deleted` = 0 AND `item`.`uid` = %d AND `item`.`parent` != 0
+                                `item`.`deleted` = 0 AND `item`.`uid` = %d AND `pitem`.`parent` != 0
                                ORDER BY `item`.`created` DESC",
                        intval(local_user())
                );