diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-03-22 13:55:23 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-03-22 13:55:23 +0100 |
commit | 8ea8700eef07098629b808ded3bee0a11c1e3608 (patch) | |
tree | 28687f749eccb4053ec588cfc6e8915590d0c415 /Zotlabs/Module | |
parent | 1f128e84fb8f407c6bd678b3b2bb25605884cfc5 (diff) | |
download | volse-hubzilla-8ea8700eef07098629b808ded3bee0a11c1e3608.tar.gz volse-hubzilla-8ea8700eef07098629b808ded3bee0a11c1e3608.tar.bz2 volse-hubzilla-8ea8700eef07098629b808ded3bee0a11c1e3608.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(); |