Minor - Code conventions - refs #7275

1.9.x
Angel Fernando Quiroz Campos 10 years ago
parent dcbb48bce3
commit c84b3ba1f0
  1. 11
      main/inc/email_editor.php

@ -62,12 +62,13 @@ switch ($action) {
$emailText = Security::remove_XSS($_REQUEST['email_text']); $emailText = Security::remove_XSS($_REQUEST['email_text']);
} }
$defaults = array( 'dest' => $emailDest, $defaults = array(
'email_address' => $emailDest, 'dest' => $emailDest,
'email_title' => $emailTitle, 'email_address' => $emailDest,
'email_text' => $emailText 'email_title' => $emailTitle,
'email_text' => $emailText
); );
$form->setDefaults($defaults); $form->setDefaults($defaults);
if ($form->validate()) { if ($form->validate()) {

Loading…
Cancel
Save