]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Conversation/Community.php
Merge branch '2021.03-rc' into copyright-2021
[friendica.git] / src / Module / Conversation / Community.php
index eb709bf6a5caa7bf6a531a2545cc66cb7bb86983..329f38e3b52239f2dd5c5e27c089b70f3ae5dc2a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -332,7 +332,7 @@ class Community extends BaseModule
                $params = ['order' => ['commented' => true], 'limit' => $itemspage];
 
                if (!empty($item_id)) {
-                       $condition[0] .= " AND `iid` = ?";
+                       $condition[0] .= " AND `id` = ?";
                        $condition[] = $item_id;
                } else {
                        if (local_user() && !empty($_REQUEST['no_sharer'])) {