aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-28 11:04:02 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-28 11:04:02 +0200
commitd92e9f38f8dce6b24d39e24b2ec2584abac0e6d3 (patch)
treebdeb2c5cbed2aefe11112f575e76956cbb65b911 /Zotlabs/Module/Channel.php
parent71632ac2d2024a58456c1ed429890359d3ae5986 (diff)
downloadvolse-hubzilla-d92e9f38f8dce6b24d39e24b2ec2584abac0e6d3.tar.gz
volse-hubzilla-d92e9f38f8dce6b24d39e24b2ec2584abac0e6d3.tar.bz2
volse-hubzilla-d92e9f38f8dce6b24d39e24b2ec2584abac0e6d3.zip
fix with update with /channel?f=&mid=hash issue #461
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