mirror of
https://github.com/friendica/friendica
synced 2025-04-23 19:50:11 +00:00
Fixes several database errors, removes "relation" handling
This commit is contained in:
parent
de90f5351f
commit
99a145f7cf
11 changed files with 39 additions and 176 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue