diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php index f47a1efc8e..be83728ca7 100644 --- a/pandora_console/operation/users/user_edit.php +++ b/pandora_console/operation/users/user_edit.php @@ -396,22 +396,23 @@ if (check_acl($config['id_user'], 0, 'ER')) { null, true ).''; -} else if (license_free()) { - $newsletter = '

'.__('Newsletter Subscribed').':

'; - if ($user_info['middlename']) { - $newsletter .= ''.__('Already subscribed to %s newsletter', get_product_name()).'
'; - } else { - $newsletter .= ''.__('Subscribe to our newsletter').''; - } - - $newsletter_reminder = '

'.__('Newsletter Reminder').':

'; - if ($user_info['firstname'] != 0) { - $user_info['firstname'] = 1; - } - - $newsletter_reminder .= html_print_checkbox_switch('newsletter_reminder', 1, $user_info['firstname'], true).'
'; } +$newsletter = '

'.__('Newsletter Subscribed').':

'; +if ($user_info['middlename']) { + $newsletter .= ''.__('Already subscribed to %s newsletter', get_product_name()).'
'; +} else { + $newsletter .= ''.__('Subscribe to our newsletter').''; +} + +$newsletter_reminder = '

'.__('Newsletter Reminder').':

'; +if ($user_info['firstname'] != 0) { + $user_info['firstname'] = 1; +} + +$newsletter_reminder .= html_print_checkbox_switch('newsletter_reminder', 1, $user_info['firstname'], true).'
'; + + $autorefresh_list_out = []; if (is_metaconsole()) {