diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-03-22 13:55:23 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-03-23 10:37:10 +0100 |
commit | ae9e64cedfdf802d7234b2744bad375f4c804d3d (patch) | |
tree | a925db8b7b9ea69fa51066f58fb2d03b171cb787 /Zotlabs/Module | |
parent | e6d62f6e05d1571d587bd2b315cdacc35759b083 (diff) | |
download | volse-hubzilla-ae9e64cedfdf802d7234b2744bad375f4c804d3d.tar.gz volse-hubzilla-ae9e64cedfdf802d7234b2744bad375f4c804d3d.tar.bz2 volse-hubzilla-ae9e64cedfdf802d7234b2744bad375f4c804d3d.zip |
prevent reload loop if somebody lands on /ochannel (without channel_address and without trailing slash)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Ochannel.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Ochannel.php b/Zotlabs/Module/Ochannel.php index 3b187d2a6..508be1408 100644 --- a/Zotlabs/Module/Ochannel.php +++ b/Zotlabs/Module/Ochannel.php @@ -56,6 +56,9 @@ class Ochannel extends \Zotlabs\Web\Controller { function get($update = 0, $load = false) { + if(argc() < 2) + return; + if($load) $_SESSION['loadtime'] = datetime_convert(); |