Commit 20ef1e77 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5058 Avoid PHP errors in user-reminder as well

parent 36b8ad36
......@@ -83,12 +83,14 @@ class expiredUserPostpone extends standAlonePage
$smarty->assign('usePrototype', 'FALSE');
$smarty->append('js_files', 'include/pwdStrength.js');
$smarty->append('css_files', get_template_path('login.css'));
$lang = session::global_get('lang');
$smarty->assign('lang', preg_replace('/_.*$/', '', $lang));
$smarty->assign('rtl', language_is_rtl($lang));
$smarty->display(get_template_path('headers.tpl'));
$smarty->assign('version', FD_VERSION);
$smarty->assign('success', $success);
$smarty->assign('activated', $this->activated);
$smarty->display(get_template_path('user-reminder.tpl'));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment