[NOTICE][UI] Fix bug: Option to message "Everyone at site" when using private instance

This commit is contained in:
Hugo Sales 2020-07-16 22:28:26 +00:00
parent 5adb971d9a
commit 5e14f18c83
1 changed files with 1 additions and 1 deletions

View File

@ -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'));