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/Display.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/Display.php')
-rw-r--r-- | Zotlabs/Module/Display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index 5d3ea94ff..81ac0f7b8 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -182,7 +182,7 @@ class Display extends \Zotlabs\Web\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((! $update) && (! $load)) { |