Pumpio: Fix unknown view field "iid"
This commit is contained in:
parent
6b558ca236
commit
e8ea0f20bd
1 changed files with 1 additions and 1 deletions
|
@ -1300,7 +1300,7 @@ function pumpio_fetchinbox(App $a, $uid)
|
||||||
intval($uid));
|
intval($uid));
|
||||||
|
|
||||||
$lastitems = q("SELECT `uri` FROM `post-thread-user`
|
$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` != ''
|
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",
|
ORDER BY `post-thread-user`.`commented` DESC LIMIT 10",
|
||||||
DBA::escape(Protocol::PUMPIO),
|
DBA::escape(Protocol::PUMPIO),
|
||||||
|
|
Loading…
Reference in a new issue