]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/ForumManager.php
"inform" functionality moved / unified functionality
[friendica.git] / src / Content / ForumManager.php
index 8556ba35303dd8591a6123b70233b770bc166fb8..0104d388f59f9b557900d0919face9e4dbcb7c7a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -215,8 +215,9 @@ class ForumManager
                                AND `contact`.`network` IN (?, ?) AND `contact`.`contact-type` = ?
                                AND NOT `contact`.`blocked` AND NOT `contact`.`hidden`
                                AND NOT `contact`.`pending` AND NOT `contact`.`archive`
+                               AND `contact`.`uid` = ?
                                GROUP BY `contact`.`id`",
-                       local_user(), Protocol::DFRN, Protocol::ACTIVITYPUB, Contact::TYPE_COMMUNITY
+                       local_user(), Protocol::DFRN, Protocol::ACTIVITYPUB, Contact::TYPE_COMMUNITY, local_user()
                );
 
                return DBA::toArray($stmtContacts);