prevent reload loop if somebody lands on /ochannel (without channel_address and without trailing slash)
This commit is contained in:
parent
1f128e84fb
commit
8ea8700eef
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user