From 58af4799ee12b29e5f3fe5b53022c75bc4054f04 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Thu, 16 Jul 2020 22:28:26 +0000 Subject: [PATCH] [NOTICE][UI] Fix bug: Option to message "Everyone at site" when using private instance --- lib/ui/toselector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/toselector.php b/lib/ui/toselector.php index 7a959ff8b5..48b3a302f6 100644 --- a/lib/ui/toselector.php +++ b/lib/ui/toselector.php @@ -119,7 +119,7 @@ class ToSelector extends Widget // Reverse so we can add entries at the end (can't unshift with a key) $choices = array_reverse($choices); - if (common_config('notice', 'allowprivate')) { + if (common_config('site', 'private')) { // TRANS: Option in drop-down of potential addressees. // TRANS: %s is a StatusNet sitename. $choices['public:site'] = sprintf(_('Everyone at %s'), common_config('site', 'name'));