]> git.mxchange.org Git - friendica.git/commitdiff
"o" has to be initialized
authorMichael <heluecht@pirati.ca>
Sat, 26 Sep 2020 22:52:01 +0000 (22:52 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 26 Sep 2020 22:52:01 +0000 (22:52 +0000)
mod/network.php

index 2fe8ca04e10027541edd8709bc115b7850b31727..23e03d03b0b724e133359050cdfff3fee13c383b 100644 (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') {
                $tpl = Renderer::getMarkupTemplate('infinite_scroll_head.tpl');
                $o = Renderer::replaceMacros($tpl, ['$reload_uri' => DI::args()->getQueryString()]);
+       } else {
+               $o = '';
        }
 
        if (!empty($_GET['file'])) {