Skip to content

Commit

Permalink
fix: Thankyou page was blank and generated errors
Browse files Browse the repository at this point in the history
  • Loading branch information
live627 committed Feb 26, 2022
1 parent fd61441 commit a0333a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/CustomForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function CustomForm()
{
$context['sub_template'] = 'ThankYou';
loadTemplate('CustomForm');
loadLanguage('CustomForm');
}
else // Do we have a valid form id?
if (isset($_REQUEST['n']))
Expand Down
2 changes: 1 addition & 1 deletion src/CustomForm.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function template_ThankYou()
</div>
<span class="upperframe"><span></span></span>
<div class="roundframe">
<table style="width:100%;background-color:#000000;" align="center">
<table style="width:100%;" align="center">
<tr>
<td style="padding:4px;" colspan="3" align="center">
<b> ', $txt['customform_thankyou'], '</b>
Expand Down

0 comments on commit a0333a4

Please sign in to comment.