minor fix in newsletter logic
This commit is contained in:
parent
058c9d3806
commit
211b05c9d6
|
@ -399,7 +399,7 @@ if (check_acl($config['id_user'], 0, 'ER')) {
|
|||
}
|
||||
|
||||
$newsletter = '<div class="label_select_simple"><p class="edit_user_labels">'.__('Newsletter Subscribed').': </p>';
|
||||
if ($user_info['middlename']) {
|
||||
if ($user_info['middlename'] > 0) {
|
||||
$newsletter .= '<span>'.__('Already subscribed to %s newsletter', get_product_name()).'</span></div>';
|
||||
} else {
|
||||
$newsletter .= '<span><a href="javascript: force_run_newsletter();">'.__('Subscribe to our newsletter').'</a></span></div>';
|
||||
|
|
Loading…
Reference in New Issue