mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update admin_mass_email.php
This commit is contained in:
parent
47cf18a642
commit
f8e0dba8c0
@ -69,8 +69,8 @@ if (isset($_POST['submit']))
|
||||
$emailer->use_template('admin_send_email');
|
||||
|
||||
$emailer->assign_vars(array(
|
||||
'SUBJECT' => html_entity_decode($subject),
|
||||
'MESSAGE' => html_entity_decode($message),
|
||||
'SUBJECT' => trim(html_entity_decode($subject)),
|
||||
'MESSAGE' => trim(html_entity_decode($message)),
|
||||
));
|
||||
|
||||
$emailer->send();
|
||||
@ -104,4 +104,4 @@ $template->assign_vars(array(
|
||||
'S_GROUP_SELECT' => build_select(POST_GROUPS_URL, $groups),
|
||||
));
|
||||
|
||||
print_page('admin_mass_email.tpl', 'admin');
|
||||
print_page('admin_mass_email.tpl', 'admin');
|
||||
|
Loading…
Reference in New Issue
Block a user