mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-02 15:11:03 +00:00
Issue 12161: Fix Unknown column 'post-view.id'
This commit is contained in:
parent
e0ad3e0fc7
commit
50eef93272
1 changed files with 1 additions and 1 deletions
|
@ -1226,7 +1226,7 @@ function pumpio_fetchinbox(App $a, int $uid)
|
||||||
$self = User::getOwnerDataById($uid);
|
$self = User::getOwnerDataById($uid);
|
||||||
|
|
||||||
$lastitems = DBA::p("SELECT `uri` FROM `post-thread-user`
|
$lastitems = DBA::p("SELECT `uri` FROM `post-thread-user`
|
||||||
INNER JOIN `post-view` ON `post-view`.`id` = `post-thread-user`.`id`
|
INNER JOIN `post-view` ON `post-view`.`uri-id` = `post-thread-user`.`uri-id`
|
||||||
WHERE `post-thread-user`.`network` = ? AND `post-thread-user`.`uid` = ? AND `post-view`.`extid` != ''
|
WHERE `post-thread-user`.`network` = ? AND `post-thread-user`.`uid` = ? AND `post-view`.`extid` != ''
|
||||||
ORDER BY `post-thread-user`.`commented` DESC LIMIT 10", Protocol::PUMPIO, $uid);
|
ORDER BY `post-thread-user`.`commented` DESC LIMIT 10", Protocol::PUMPIO, $uid);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue