1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Removed redundant PHP tags from LAN files.

This commit is contained in:
Cameron
2020-08-11 09:36:21 -07:00
parent 370fdb13f6
commit 38cdc473fb
56 changed files with 29 additions and 60 deletions

View File

@@ -902,8 +902,8 @@ class e107Email extends PHPMailer
if(!empty($eml['template'])) // @see e107_core/templates/email_template.php
{
e107::coreLan('users', true);
{
require_once(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_users.php"); // do not use e107::lan etc.
if($tmpl = e107::getCoreTemplate('email', $eml['template'], 'front', true)) //FIXME - Core template is failing with template 'notify'. Works with theme template. Issue with core template registry?
{
$eml['templateHTML'] = $tmpl;