sforkowany z mirror/friendica
Fix database error ""Unknown column 'parent-item.author-id'"
rodzic
91c843608b
commit
8f1635d8fd
|
@ -787,7 +787,7 @@ class Item
|
|||
$joins .= " LEFT JOIN `permissionset` ON `permissionset`.`id` = `item`.`psid`";
|
||||
}
|
||||
|
||||
if ((strpos($sql_commands, "`parent-item`.") !== false) || (strpos($sql_commands, "`parent-author`.") !== false)) {
|
||||
if ((strpos($sql_commands, "`parent-item`.") !== false) || (strpos($sql_commands, "`parent-item-author`.") !== false)) {
|
||||
$joins .= " STRAIGHT_JOIN `item` AS `parent-item` ON `parent-item`.`id` = `item`.`parent`";
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue