From 52d15da62e6ebfe9c2caa8139e47912a5d279f03 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Thu, 16 Jun 2016 14:49:44 +0200 Subject: [PATCH] Added email to field1_recovery --- pandora_console/general/login_required.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_console/general/login_required.php b/pandora_console/general/login_required.php index 40eb0c9b8d..ab3135cea9 100644 --- a/pandora_console/general/login_required.php +++ b/pandora_console/general/login_required.php @@ -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);