mirror of
https://github.com/friendica/friendica
synced 2025-04-24 06:30:13 +00:00
Added foreign key
This commit is contained in:
parent
d3abf5eff9
commit
93cd85595c
4 changed files with 6 additions and 2 deletions
|
@ -775,7 +775,7 @@ class Item
|
|||
}
|
||||
}
|
||||
if (strpos($sql_commands, "`causer`.") !== false) {
|
||||
$joins .= " LEFT JOIN `contact` AS `causer` ON `causer`.`id` = $master_table.`causer-id`";
|
||||
$joins .= " LEFT JOIN `contact` AS `causer` ON `causer`.`id` = `item`.`causer-id`";
|
||||
}
|
||||
|
||||
if (strpos($sql_commands, "`group_member`.") !== false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue