diff options
author | redmatrix <git@macgirvin.com> | 2016-05-10 01:30:22 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-10 01:30:22 -0700 |
commit | 0c5434d5e35f13340df5bf5edd22c6d9e9e8379c (patch) | |
tree | e5f415574ecce32e370b916ccbe142caf6e83b6a /Zotlabs/Module | |
parent | baa7020036f4b6112a58a99d04af2f5287a8c815 (diff) | |
download | volse-hubzilla-0c5434d5e35f13340df5bf5edd22c6d9e9e8379c.tar.gz volse-hubzilla-0c5434d5e35f13340df5bf5edd22c6d9e9e8379c.tar.bz2 volse-hubzilla-0c5434d5e35f13340df5bf5edd22c6d9e9e8379c.zip |
try again with shutdown handler, fix issue #373 (live-pubstream div wasn't present
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Pubstream.php | 4 | ||||
-rw-r--r-- | Zotlabs/Module/Update_pubstream.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php index d6cfe6e92..e48f8363c 100644 --- a/Zotlabs/Module/Pubstream.php +++ b/Zotlabs/Module/Pubstream.php @@ -28,7 +28,7 @@ class Pubstream extends \Zotlabs\Web\Controller { if(! $maxheight) $maxheight = 400; - $o .= '<div id="live-public"></div>' . "\r\n"; + $o .= '<div id="live-pubstream"></div>' . "\r\n"; $o .= "<script> var profile_uid = " . ((intval(local_channel())) ? local_channel() : (-1)) . "; var profile_page = " . \App::$pager['page'] . "; divmore_height = " . intval($maxheight) . "; </script>\r\n"; @@ -161,7 +161,7 @@ class Pubstream extends \Zotlabs\Web\Controller { if(($items) && (! $update)) $o .= alt_pager($a,count($items)); - + return $o; } diff --git a/Zotlabs/Module/Update_pubstream.php b/Zotlabs/Module/Update_pubstream.php index 153db56ba..952b48df3 100644 --- a/Zotlabs/Module/Update_pubstream.php +++ b/Zotlabs/Module/Update_pubstream.php @@ -7,7 +7,7 @@ namespace Zotlabs\Module; class Update_pubstream extends \Zotlabs\Web\Controller { function get() { - + $profile_uid = ((intval($_GET['p'])) ? intval($_GET['p']) : (-1)); $load = (((argc() > 1) && (argv(1) == 'load')) ? 1 : 0); header("Content-type: text/html"); |