Skip to content

Commit

Permalink
Fix bug with formbuilder success \ failed message
Browse files Browse the repository at this point in the history
  • Loading branch information
Felixkat committed Nov 14, 2024
1 parent ce5c112 commit d9006d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/elements/formbuilder/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@
$mail->Encoding = 'base64';
$mail->setBody($mail_body);

$message_success = $params->get('success_message', Text::_('ASTROID_FORMBUILDER_SENT_SUCCESSFULLY'));
$message_failed = $params->get('failed_message', Text::_('ASTROID_FORMBUILDER_SENT_MAIL_FAILED'));
$message_success = $params->get('form_submit_success', Text::_('ASTROID_FORMBUILDER_SENT_SUCCESSFULLY'));
$message_failed = $params->get('form_submit_failed', Text::_('ASTROID_FORMBUILDER_SENT_MAIL_FAILED'));

if ($mail->Send()) {
$return["status"] = 'success';
Expand Down

0 comments on commit d9006d4

Please sign in to comment.