Check $tpl_vars['QUESTION'] in print_confirmation() (#977)

This commit is contained in:
Roman Kelesidis 2023-10-19 16:14:11 +07:00 committed by GitHub
commit 1af9cfbbb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

@ -1642,6 +1642,11 @@ function print_confirmation($tpl_vars)
'CONFIRM_TITLE' => $lang['CONFIRM'],
'FORM_METHOD' => 'post'
]);
if (!isset($tpl_vars['QUESTION'])) {
$tpl_vars['QUESTION'] = $lang['QUESTION'];
}
$template->assign_vars($tpl_vars);
print_page('common.tpl');