"o" has to be initialized

This commit is contained in:
Michael 2020-09-26 22:52:01 +00:00
parent 79d5e3f6cb
commit 3a94625470

View File

@ -288,6 +288,8 @@ function network_content(App $a, $update = 0, $parent = 0)
if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll') && ($_GET['mode'] ?? '') != 'minimal') { if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll') && ($_GET['mode'] ?? '') != 'minimal') {
$tpl = Renderer::getMarkupTemplate('infinite_scroll_head.tpl'); $tpl = Renderer::getMarkupTemplate('infinite_scroll_head.tpl');
$o = Renderer::replaceMacros($tpl, ['$reload_uri' => DI::args()->getQueryString()]); $o = Renderer::replaceMacros($tpl, ['$reload_uri' => DI::args()->getQueryString()]);
} else {
$o = '';
} }
if (!empty($_GET['file'])) { if (!empty($_GET['file'])) {