diff --git a/e107_plugins/pm/pm.php b/e107_plugins/pm/pm.php index 871d81944..00dda193c 100755 --- a/e107_plugins/pm/pm.php +++ b/e107_plugins/pm/pm.php @@ -178,7 +178,10 @@ class pm_extended extends private_message } // $tpl_file = THEME.'pm_template.php'; // include_once(is_readable($tpl_file) ? $tpl_file : e_PLUGIN.'pm/pm_template.php'); - if(THEME_LEGACY){include_once(THEME.'pm_template.php');} + if(THEME_LEGACY){ + include_once(THEME.'pm_template.php'); + $PM_SEND_PM = $this->updateTemplate($PM_SEND_PM); + } if (!$PM_SEND_PM){$PM_SEND_PM = e107::getTemplate('pm', 'pm', 'send');} $enc = (check_class($this->pmPrefs['attach_class']) ? "enctype='multipart/form-data'" : ''); @@ -188,7 +191,7 @@ class pm_extended extends private_message $sc->setVars($pm_info); $sc->wrapper('pm'); - $PM_SEND_PM = $this->updateTemplate($PM_SEND_PM); +// $PM_SEND_PM = $this->updateTemplate($PM_SEND_PM); $text = "