diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index fdfbe9411da..3121751948e 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -146,7 +146,9 @@ $dol_url_root = DOL_URL_ROOT; // Select templates if (class_exists('Smartphone')) { - $template_dir = $smartphone->getTemplateDir(); + // Template directory + $smartphone->getTemplateDir(); + $template_dir = $smartphone->template_dir; } else {