mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Check $tpl_vars['QUESTION'] in print_confirmation() (#977)
This commit is contained in:
parent
65c5e5a275
commit
1af9cfbbb9
3 changed files with 7 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue