aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-28 02:44:42 -0700
committerredmatrix <mike@macgirvin.com>2016-09-28 02:44:42 -0700
commit80b655fa7eea194c458546edb6c3d534c46eccb9 (patch)
tree8366707ec47161df02e2fa13dbaa3e1d0f4aef7d /Zotlabs/Module/Channel.php
parentdb95e6eba597cbe51ba7c328fa921787cab46f6e (diff)
parentf0e8c9ead9502acf111f524b9a9232a3f0e2fa70 (diff)
downloadvolse-hubzilla-80b655fa7eea194c458546edb6c3d534c46eccb9.tar.gz
volse-hubzilla-80b655fa7eea194c458546edb6c3d534c46eccb9.tar.bz2
volse-hubzilla-80b655fa7eea194c458546edb6c3d534c46eccb9.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index 795f0869a..209d86236 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -178,10 +178,11 @@ class Channel extends \Zotlabs\Web\Controller {
if($mid) {
$r = q("SELECT parent AS item_id from item where mid like '%s' and uid = %d $item_normal
- AND item_wall = 1 AND item_unseen = 1 $sql_extra limit 1",
+ AND item_wall = 1 $simple_update $sql_extra limit 1",
dbesc($mid . '%'),
intval(\App::$profile['profile_uid'])
);
+ $_SESSION['loadtime'] = datetime_convert();
}
else {
$r = q("SELECT distinct parent AS `item_id`, created from item