prevent reload loop if somebody lands on /ochannel (without channel_address and without trailing slash)

This commit is contained in:
Mario Vavti 2018-03-22 13:55:23 +01:00
parent 1f128e84fb
commit 8ea8700eef

View File

@ -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();