[NOTICE][UI] Fix bug: Option to message "Everyone at site" when using private instance
This commit is contained in:
parent
af0ec1380e
commit
58af4799ee
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user