diff options
author | Mario <mario@mariovavti.com> | 2020-11-21 20:57:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-21 20:57:50 +0000 |
commit | bb43c57b0731270d563dca8afb773b49e9023f54 (patch) | |
tree | 13dc92517fee83effb0727a789c3bc50e896850a /Zotlabs/Module/Channel.php | |
parent | 6c94bbc93fcdbcb729e119bea55f87b5334f650f (diff) | |
download | volse-hubzilla-bb43c57b0731270d563dca8afb773b49e9023f54.tar.gz volse-hubzilla-bb43c57b0731270d563dca8afb773b49e9023f54.tar.bz2 volse-hubzilla-bb43c57b0731270d563dca8afb773b49e9023f54.zip |
make simple update more simple again
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r-- | Zotlabs/Module/Channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index f61c8bdc9..153b4feaf 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -251,7 +251,7 @@ class Channel extends Controller { $simple_update = ''; if($update && $_SESSION['loadtime']) - $simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) AND author_xchan = '" . protect_sprintf(get_observer_hash()) . "' "; + $simple_update = " AND (( item_unseen = 1 AND item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) OR item.changed > '" . datetime_convert('UTC','UTC',$_SESSION['loadtime']) . "' ) "; if($search) { $search = escape_tags($search); |