]> git.mxchange.org Git - friendica.git/commitdiff
fixes an sql error in NotificationsManager
authorJens Tautenhahn <shogun@tausys.de>
Wed, 9 Nov 2016 20:32:15 +0000 (21:32 +0100)
committerJens Tautenhahn <shogun@tausys.de>
Wed, 9 Nov 2016 20:32:15 +0000 (21:32 +0100)
include/NotificationsManager.php

index 3b7cbdfc999e89d7086eaae71242d829d790b22c..e5e9e9625558738e32afebdf7b1ef5d19f0f7d1e 100644 (file)
@@ -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