Only do it when public commenting is enabled
This commit is contained in:
parent
e2ed1fb426
commit
b007823bca
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue