From: Michael Date: Mon, 8 Jan 2018 06:59:49 +0000 (+0000) Subject: Only do it when public commenting is enabled X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b007823bcaa81649e471acaa8c48b4c93cd89810;p=friendica.git Only do it when public commenting is enabled --- diff --git a/mod/network.php b/mod/network.php index fba775ab50..8cebe73175 100644 --- a/mod/network.php +++ b/mod/network.php @@ -807,7 +807,7 @@ function networkThreadedView(App $a, $update = 0) { } // Only show it when unfiltered (no groups, no networks, ...) - if ((count($r) > 0) && (strlen($sql_extra . $sql_extra2 . $sql_extra3 . $sql_extra4 . $sql_nets) == 0)) { + if (Config::get('system', 'comment_public') && (count($r) > 0) && (strlen($sql_extra . $sql_extra2 . $sql_extra3 . $sql_extra4 . $sql_nets) == 0)) { $top_limit = current($r)['order_date']; $bottom_limit = end($r)['order_date'];