Added email to field1_recovery

(cherry picked from commit 52d15da62e)
This commit is contained in:
fermin831 2016-06-16 14:49:44 +02:00
parent e2fb16cf63
commit 25ade121da
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ if (is_ajax()) {
$mail_check = 'yourmail@domain.es';
$mail_alert = alerts_get_alert_action_field1(1);
if ($mail_check === $mail_alert && $email !== false) {
alerts_update_alert_action (1, array('field1' => $email));
alerts_update_alert_action (1, array('field1' => $email,
'field1_recovery' => $email));
}
config_update_value ('initial_wizard', 1);