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 e6d62f6e05
commit ae9e64cedf

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