aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-14 18:19:32 +1100
committerredmatrix <redmatrix@redmatrix.me>2015-10-14 18:19:32 +1100
commitd616099de6984ad8d45e3b8908367bf5a0b8ab31 (patch)
treeeb22325c0a255ae87aa896c3371463f1f90eae9b /mod/channel.php
parente3070eb17047bac31ed597bae3dd1b43e32835ff (diff)
parente2a15d0ec901e284e3b5893b72418c2fe93d9598 (diff)
downloadvolse-hubzilla-d616099de6984ad8d45e3b8908367bf5a0b8ab31.tar.gz
volse-hubzilla-d616099de6984ad8d45e3b8908367bf5a0b8ab31.tar.bz2
volse-hubzilla-d616099de6984ad8d45e3b8908367bf5a0b8ab31.zip
Merge pull request #80 from git-marijus/master
fix /channel not updating after posting comment
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php
index f1b74136e..0af2666cc 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -173,7 +173,7 @@ function channel_content(&$a, $update = 0, $load = false) {
$r = q("SELECT distinct parent AS `item_id`, created from item
left join abook on ( item.owner_xchan = abook.abook_xchan $abook_uids )
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)
$sql_extra
ORDER BY created DESC",