diff options
Diffstat (limited to 'lib/topposterssection.php')
-rw-r--r-- | lib/topposterssection.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/topposterssection.php b/lib/topposterssection.php index 116373818..7a3d46aa5 100644 --- a/lib/topposterssection.php +++ b/lib/topposterssection.php @@ -50,6 +50,7 @@ class TopPostersSection extends ProfileSection { $qry = 'SELECT profile.*, count(*) as value ' . 'FROM profile JOIN notice ON profile.id = notice.profile_id ' . + (common_config('public', 'localonly') ? 'WHERE is_local = 1 ' : '') . 'GROUP BY profile.id ' . 'ORDER BY value DESC '; |