]> git.mxchange.org Git - friendica-addons.git/commitdiff
Pumpio: Fix unknown view field "iid"
authorMichael <heluecht@pirati.ca>
Sun, 14 Mar 2021 17:39:45 +0000 (17:39 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 14 Mar 2021 17:39:45 +0000 (17:39 +0000)
pumpio/pumpio.php

index 357f17433b1bf495eb1868760b8fc00ae124b264..8e60f46d7e749f7fa304d0e1d2b5f551593be165 100644 (file)
@@ -1300,7 +1300,7 @@ function pumpio_fetchinbox(App $a, $uid)
                intval($uid));
 
        $lastitems = q("SELECT `uri` FROM `post-thread-user`
-                       INNER JOIN `post-view` ON `post-view`.`id` = `post-thread-user`.`iid`
+                       INNER JOIN `post-view` ON `post-view`.`id` = `post-thread-user`.`id`
                        WHERE `post-thread-user`.`network` = '%s' AND `post-thread-user`.`uid` = %d AND `post-view`.`extid` != ''
                        ORDER BY `post-thread-user`.`commented` DESC LIMIT 10",
                                DBA::escape(Protocol::PUMPIO),