fix /channel not updating after posting comment
This commit is contained in:
parent
61e3ef2552
commit
3c74aec973
@ -173,7 +173,7 @@ function channel_content(&$a, $update = 0, $load = false) {
|
|||||||
$r = q("SELECT distinct parent AS `item_id`, created from item
|
$r = q("SELECT distinct parent AS `item_id`, created from item
|
||||||
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
|
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
|
||||||
WHERE uid = %d $item_normal
|
WHERE uid = %d $item_normal
|
||||||
AND item_wall = 1 AND item_unseen = 1
|
AND item_wall = 1 $simple_update
|
||||||
AND (abook.abook_blocked = 0 or abook.abook_flags is null)
|
AND (abook.abook_blocked = 0 or abook.abook_flags is null)
|
||||||
$sql_extra
|
$sql_extra
|
||||||
ORDER BY created DESC",
|
ORDER BY created DESC",
|
||||||
|
Reference in New Issue
Block a user