From 50eef93272478a6be69ea8c5f3dc2d12f1204f3c Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 12 Nov 2022 13:13:58 +0000 Subject: [PATCH] Issue 12161: Fix Unknown column 'post-view.id' --- pumpio/pumpio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 7c71919f..903450c2 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -1226,7 +1226,7 @@ function pumpio_fetchinbox(App $a, int $uid) $self = User::getOwnerDataById($uid); $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` != '' ORDER BY `post-thread-user`.`commented` DESC LIMIT 10", Protocol::PUMPIO, $uid); -- 2.43.5