Merge pull request #2912 from sesom42/develop

fixes an sql syntax error in NotificationsManager
2022.09-rc
Michael Vogel 2016-11-14 10:37:22 +01:00 zatwierdzone przez GitHub
commit b7dbecd5e3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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