diff options
author | zotlabs <mike@macgirvin.com> | 2019-02-19 11:56:26 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-02-19 11:56:26 -0800 |
commit | 1ea9002fe8d04f0b2af32fa30a6aae9a0ffcf96c (patch) | |
tree | ff0ad5ced6c05f29ccfed3d9d2d7912e8e0784e9 /Zotlabs/Module | |
parent | 7d1c3920fd58e9fbba9fef6ad04420537f508d5b (diff) | |
parent | cead10b9af6ff9d8b1bc702ca21d27af7c2112f0 (diff) | |
download | volse-hubzilla-1ea9002fe8d04f0b2af32fa30a6aae9a0ffcf96c.tar.gz volse-hubzilla-1ea9002fe8d04f0b2af32fa30a6aae9a0ffcf96c.tar.bz2 volse-hubzilla-1ea9002fe8d04f0b2af32fa30a6aae9a0ffcf96c.zip |
Merge branch 'dev' of https://framagit.org/zot/core into dev
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Display.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index e3691702d..04e5f9fce 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -178,8 +178,7 @@ class Display extends \Zotlabs\Web\Controller { $static = ((array_key_exists('static',$_REQUEST)) ? intval($_REQUEST['static']) : 0); - - + $simple_update = (($update) ? " AND item_unseen = 1 " : ''); if($update && $_SESSION['loadtime']) @@ -314,7 +313,7 @@ class Display extends \Zotlabs\Web\Controller { } } - if(! $r) { + if($r === null) { // in case somebody turned off public access to sys channel content using permissions // make that content unsearchable by ensuring the owner_xchan can't match if(! perm_is_allowed($sysid,$observer_hash,'view_stream')) |