fix live update on channel page

This commit is contained in:
friendica 2013-01-05 15:27:38 -08:00
parent 5894a7db48
commit 472a905731
2 changed files with 3 additions and 3 deletions

View File

@ -135,17 +135,17 @@ function channel_content(&$a, $update = 0, $load = false) {
if(($update) && (! $load)) {
$r = q("SELECT distinct(parent) AS `item_id` from item
left join abook on item.author_xchan = abook.abook_xchan
WHERE uid = %d AND item_restrict = 0
AND (item_flags & %d) AND ( item_flags & %d ) AND ( item_flags & %d )
AND (item_flags & %d) AND ( item_flags & %d )
AND ((abook.abook_flags & %d) = 0 or abook.abook_flags is null)
$sql_extra
ORDER BY created DESC",
intval($a->profile['profile_uid']),
intval(ITEM_WALL),
intval(ITEM_UNSEEN),
intval(ITEM_THREAD_TOP),
intval(ABOOK_FLAG_BLOCKED)
);

View File

@ -1 +1 @@
2013-01-04.190
2013-01-05.191