$email], ['id_user' => $config['id_user']] ); } // Update the alert action Mail to XXX/Administrator if it is set to default $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, [ 'field1' => $email, 'field1_recovery' => $email, ] ); } config_update_value('initial_wizard', 1); } // Change the language if is change in checkbox if ($change_language !== 0) { config_update_value('language', $change_language); } if ($cancel_wizard !== 0) { config_update_value('initial_wizard', 1); } return; } $email = db_get_value('email', 'tusuario', 'id_user', $config['id_user']); // Avoid to show default email if ($email == 'admin@example.com') { $email = ''; } // Prints first step pandora registration echo ''; ?>