aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-21 23:11:15 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-21 23:11:15 +0200
commita7d339be5a80bd9b6d3c9441f37f4ad33d8afa84 (patch)
tree2efdb2d3f53245160f5242c54b15bcd6aaa9cbe7 /Zotlabs
parent6e9e267b2750df331a4a9d6d5910714bec738ec0 (diff)
downloadvolse-hubzilla-a7d339be5a80bd9b6d3c9441f37f4ad33d8afa84.tar.gz
volse-hubzilla-a7d339be5a80bd9b6d3c9441f37f4ad33d8afa84.tar.bz2
volse-hubzilla-a7d339be5a80bd9b6d3c9441f37f4ad33d8afa84.zip
nav_set_selected() and minor whitespace for mod pubstream
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Pubstream.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php
index ef818845c..72d5f80fa 100644
--- a/Zotlabs/Module/Pubstream.php
+++ b/Zotlabs/Module/Pubstream.php
@@ -28,6 +28,8 @@ class Pubstream extends \Zotlabs\Web\Controller {
if(! $update) {
+ nav_set_selected(t('Public Stream'));
+
$_SESSION['static_loadtime'] = datetime_convert();
$static = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1);
@@ -108,7 +110,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
$simple_update = '';
if($static && $simple_update)
- $simple_update .= " and item_thread_top = 0 and author_xchan = '" . protect_sprintf(get_observer_hash()) . "' ";
+ $simple_update .= " and item_thread_top = 0 and author_xchan = '" . protect_sprintf(get_observer_hash()) . "' ";
//logger('update: ' . $update . ' load: ' . $load);