mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Added email to field1_recovery
This commit is contained in:
parent
a5fcab683e
commit
52d15da62e
@ -39,7 +39,8 @@ if (is_ajax()) {
|
|||||||
$mail_check = 'yourmail@domain.es';
|
$mail_check = 'yourmail@domain.es';
|
||||||
$mail_alert = alerts_get_alert_action_field1(1);
|
$mail_alert = alerts_get_alert_action_field1(1);
|
||||||
if ($mail_check === $mail_alert && $email !== false) {
|
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);
|
config_update_value ('initial_wizard', 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user