From 12dd65786879d5288e85314ba456c928284791b9 Mon Sep 17 00:00:00 2001 From: Jens Tautenhahn Date: Wed, 9 Nov 2016 21:32:15 +0100 Subject: [PATCH] fixes an sql error in NotificationsManager --- include/NotificationsManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/NotificationsManager.php b/include/NotificationsManager.php index 3b7cbdfc99..e5e9e96255 100644 --- a/include/NotificationsManager.php +++ b/include/NotificationsManager.php @@ -554,7 +554,7 @@ class NotificationsManager { $r = q("SELECT `item`.`id`,`item`.`parent`, `item`.`verb`, `item`.`author-name`, `item`.`unseen`, `item`.`author-link`, `item`.`author-avatar`, `item`.`created`, `item`.`object` AS `object`, - `pitem`.`author-name` AS `pname`, `pitem`.`author-link` AS `plink`, `pitem`.`guid` AS `pguid`, + `pitem`.`author-name` AS `pname`, `pitem`.`author-link` AS `plink`, `pitem`.`guid` AS `pguid` FROM `item` INNER JOIN `item` AS `pitem` ON `pitem`.`id`=`item`.`parent` WHERE `item`.`visible` = 1 $sql_extra -- 2.39.5